-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.config.js
29 lines (29 loc) · 1000 Bytes
/
ecosystem.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
apps: [
{
name: "subcloud-strapi",
cwd: "/home/ubuntu/subcloud-strapi",
script: "npm",
args: "start",
env: {
NODE_ENV: "production",
HOST: "0.0.0.0",
PORT: "1337",
APP_KEYS:
"8tLADoM8+JIKrZ52CfY9gQ==,wQ+AIlrwAoBYOwdLkPYpYw==,p0yD9Ky/N515XvinxcuLug==,E4N/UJiAeZlTnLif9ImR6Q==",
ADMIN_JWT_SECRET: "8pwnOQlOgaIpBFuAtVdQYQ==",
JWT_SECRET: "/e5JLZ/Ghl2anpPWcwWczQ==",
DATABASE_HOST:
"subcloud-prod.c66c7hkpmaeq.ap-northeast-2.rds.amazonaws.com",
DATABASE_PORT: "5432",
DATABASE_NAME: "strapi",
DATABASE_USERNAME: "sub", // default username
DATABASE_PASSWORD: "dlalsrbditmaktmxj",
AWS_ACCESS_KEY_ID: "AKIAYG6VFG2RVTW2WWME",
AWS_ACCESS_SECRET: "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", // Find it in Amazon S3 Dashboard
AWS_REGION: "ap-northeast-2",
AWS_BUCKET_NAME: "subcloud-strapi",
},
},
],
};