-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzerops.yml
35 lines (35 loc) · 973 Bytes
/
zerops.yml
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
zerops:
- setup: api
build:
base: nodejs@20
buildCommands:
- npm i
- npm run build
deployFiles:
- ./dist
- node_modules
- package.json
run:
base: nodejs@20
ports:
- port: 3000
httpSupport: true
envVariables:
DATABASE_HOST: db
DATABASE_NAME: db
DATABASE_PASSWORD: ${db_password}
DATABASE_PORT: "5432"
DATABASE_USERNAME: db
SMTP_EMAIL_FROM: [email protected]
SMTP_HOST: mailpit
SMTP_PASS: ""
SMTP_PORT: "1025"
SMTP_USER: ""
STORAGE_ACCESS_KEY_ID: ${storage_accessKeyId}
STORAGE_ENDPOINT: ${storage_apiUrl}
STORAGE_REGION: us-east-1
STORAGE_S3_BUCKET_NAME: ${storage_bucketName}
STORAGE_SECRET_ACCESS_KEY: ${storage_secretAccessKey}
initCommands:
- zsc execOnce $ZEROPS_appVersionId npm run typeorm:migrate
start: npm run start:prod