-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathecosystem.config.js
More file actions
44 lines (41 loc) 路 1008 Bytes
/
Copy pathecosystem.config.js
File metadata and controls
44 lines (41 loc) 路 1008 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
apps: [
{
name: "alexandrie-backend",
script: "./backend",
env: {
PORT: 8201,
FRONTEND_URL: "https://alexandrie-hub.fr",
COOKIE_DOMAIN: "alexandrie-hub.fr",
ADMIN_ACCOUNTS: "152981937240150016",
MINIO_ENDPOINT: "cdn.alexandrie-hub.fr",
MINIO_PUBLIC_URL: "https://cdn.alexandrie-hub.fr",
MINIO_BUCKET: "alexandrie",
MINIO_SECURE: "true",
DATABASE_HOST: "localhost",
DATABASE_PORT: 3306,
DATABASE_NAME: "alexandrie",
CPWD: "./backend/",
GIN_MODE: "release",
},
},
{
name: "alexandrie-frontend",
cwd: "./frontend",
script: "bun .output/server/index.mjs",
env: {
NODE_ENV: "production",
PORT: 8200,
},
},
{
name: "alexandrie-docs",
cwd: "./docs",
script: "bun .output/server/index.mjs",
env: {
NODE_ENV: "production",
PORT: 8202,
},
},
],
};