This repository was archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.production.yml
More file actions
67 lines (66 loc) · 1.48 KB
/
docker-compose.production.yml
File metadata and controls
67 lines (66 loc) · 1.48 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '3.8'
services:
old:
networks:
- net
environment:
TZ: 'Europe/Moscow'
SECRET_FOR_REFRESH: ${SECRET_FOR_REFRESH?Provide secret key for refreshing data SECRET_FOR_REFRESH}
CONNECTION_STRING: ${CONNECTION_STRING?Provide postgres connection string CONNECTION_STRING}
deploy:
resources:
limits:
cpus: '0.30'
memory: 100M
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
api:
networks:
- net
environment:
TZ: 'Europe/Moscow'
DATABASE_URL: ${DATABASE_URL?Provide postgres connection string DATABASE_URL}
ROOT_PATH: ${ROOT_PATH?Provide path to backend beside ROOT_PATH}
APP_SECRET: ${APP_SECRET?Provide path prefix to service from proxy APP_SECRET}
deploy:
resources:
limits:
cpus: '0.30'
memory: 100M
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
refresh-invoker:
networks:
- net
deploy:
resources:
limits:
cpus: '0.10'
memory: 30M
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
proxy:
networks:
- net
deploy:
resources:
limits:
cpus: '0.20'
memory: 70M
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
networks:
net:
driver: overlay