-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod-local.yml
46 lines (42 loc) · 887 Bytes
/
prod-local.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
36
37
38
39
40
41
42
43
44
45
46
services:
api:
build:
context: ./api
dockerfile: Dockerfile.prod
args:
APP_VERSION: local-prod
environment:
APP_MODE: production
SCRIPT_NAME: /api
DB_PASS: null
DB_PASS_FILE: /run/secrets/db_secret
volumes: null
secrets:
- source: db_secret
target: db_secret
uid: "1000"
gid: "1000"
mode: 0400
web:
build:
context: ./web
dockerfile: Dockerfile.prod
args:
APP_VERSION: local-prod
volumes: null
db:
environment:
POSTGRES_PASSWORD: null
POSTGRES_PASSWORD_FILE: /run/secrets/db_secret
secrets:
- source: db_secret
target: db_secret
uid: "1000"
gid: "1000"
mode: 0400
configs:
proxy_conf:
file: ./nginx/nginx-local-prod.conf
secrets:
db_secret:
file: ./secrets/dbsecret.txt