mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
use infisical
This commit is contained in:
parent
2076140d81
commit
ac1f676b9f
@ -2,7 +2,7 @@ module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "main_api",
|
||||
script: "./dist/index.js",
|
||||
script: "./infisical-run.sh",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
@ -12,7 +12,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: "music_api",
|
||||
script: "./dist/index.js",
|
||||
script: "./infisical-run.sh",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
@ -22,7 +22,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: "file_api",
|
||||
script: "./dist/index.js",
|
||||
script: "./infisical-run.sh",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
@ -32,7 +32,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: "marketplace_api",
|
||||
script: "./dist/index.js",
|
||||
script: "./infisical-run.sh",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
@ -42,7 +42,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
name: "chat_api",
|
||||
script: "./dist/index.js",
|
||||
script: "./infisical-run.sh",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
|
@ -2,6 +2,6 @@
|
||||
"workspaceId": "64519574a8a691b55e8b361d",
|
||||
"defaultEnvironment": "dev",
|
||||
"gitBranchToEnvironmentMapping": {
|
||||
"master": "production"
|
||||
"master": "prod"
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"workspaceId": "64519574a8a691b55e8b361d",
|
||||
"defaultEnvironment": "dev",
|
||||
"gitBranchToEnvironmentMapping": {
|
||||
"master": "production"
|
||||
"master": "prod"
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"workspaceId": "64519574a8a691b55e8b361d",
|
||||
"defaultEnvironment": "dev",
|
||||
"gitBranchToEnvironmentMapping": {
|
||||
"master": "production"
|
||||
"master": "prod"
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"workspaceId": "64519574a8a691b55e8b361d",
|
||||
"defaultEnvironment": "dev",
|
||||
"gitBranchToEnvironmentMapping": {
|
||||
"master": "production"
|
||||
"master": "prod"
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"workspaceId": "64519574a8a691b55e8b361d",
|
||||
"defaultEnvironment": "dev",
|
||||
"gitBranchToEnvironmentMapping": {
|
||||
"master": "production"
|
||||
"master": "prod"
|
||||
}
|
||||
}
|
@ -5,7 +5,8 @@
|
||||
"scripts": {
|
||||
"build": "corenode-cli build",
|
||||
"dev": "cross-env NODE_ENV=development nodemon --ignore dist/ --exec corenode-node ./src/index.js",
|
||||
"run:prod": "cross-env NODE_ENV=production node ./dist/index.js"
|
||||
"run:prod": "cross-env NODE_ENV=production node ./dist/index.js",
|
||||
"run:infisical:prod": "infisical run -- npm run run:prod"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user