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: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: "main_api",
|
name: "main_api",
|
||||||
script: "./dist/index.js",
|
script: "./infisical-run.sh",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
@ -12,7 +12,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "music_api",
|
name: "music_api",
|
||||||
script: "./dist/index.js",
|
script: "./infisical-run.sh",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
@ -22,7 +22,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "file_api",
|
name: "file_api",
|
||||||
script: "./dist/index.js",
|
script: "./infisical-run.sh",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
@ -32,7 +32,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "marketplace_api",
|
name: "marketplace_api",
|
||||||
script: "./dist/index.js",
|
script: "./infisical-run.sh",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
@ -42,7 +42,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "chat_api",
|
name: "chat_api",
|
||||||
script: "./dist/index.js",
|
script: "./infisical-run.sh",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
env: {
|
env: {
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
"workspaceId": "64519574a8a691b55e8b361d",
|
"workspaceId": "64519574a8a691b55e8b361d",
|
||||||
"defaultEnvironment": "dev",
|
"defaultEnvironment": "dev",
|
||||||
"gitBranchToEnvironmentMapping": {
|
"gitBranchToEnvironmentMapping": {
|
||||||
"master": "production"
|
"master": "prod"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,6 +2,6 @@
|
|||||||
"workspaceId": "64519574a8a691b55e8b361d",
|
"workspaceId": "64519574a8a691b55e8b361d",
|
||||||
"defaultEnvironment": "dev",
|
"defaultEnvironment": "dev",
|
||||||
"gitBranchToEnvironmentMapping": {
|
"gitBranchToEnvironmentMapping": {
|
||||||
"master": "production"
|
"master": "prod"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,6 +2,6 @@
|
|||||||
"workspaceId": "64519574a8a691b55e8b361d",
|
"workspaceId": "64519574a8a691b55e8b361d",
|
||||||
"defaultEnvironment": "dev",
|
"defaultEnvironment": "dev",
|
||||||
"gitBranchToEnvironmentMapping": {
|
"gitBranchToEnvironmentMapping": {
|
||||||
"master": "production"
|
"master": "prod"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,6 +2,6 @@
|
|||||||
"workspaceId": "64519574a8a691b55e8b361d",
|
"workspaceId": "64519574a8a691b55e8b361d",
|
||||||
"defaultEnvironment": "dev",
|
"defaultEnvironment": "dev",
|
||||||
"gitBranchToEnvironmentMapping": {
|
"gitBranchToEnvironmentMapping": {
|
||||||
"master": "production"
|
"master": "prod"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,6 +2,6 @@
|
|||||||
"workspaceId": "64519574a8a691b55e8b361d",
|
"workspaceId": "64519574a8a691b55e8b361d",
|
||||||
"defaultEnvironment": "dev",
|
"defaultEnvironment": "dev",
|
||||||
"gitBranchToEnvironmentMapping": {
|
"gitBranchToEnvironmentMapping": {
|
||||||
"master": "production"
|
"master": "prod"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "corenode-cli build",
|
"build": "corenode-cli build",
|
||||||
"dev": "cross-env NODE_ENV=development nodemon --ignore dist/ --exec corenode-node ./src/index.js",
|
"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",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user