-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
38 lines (37 loc) · 835 Bytes
/
docker-compose.prod.yml
File metadata and controls
38 lines (37 loc) · 835 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
version: "3.9"
services:
web:
# restart: always
# deploy:
# mode: replicated
# replicas: 3
# restart_policy:
# condition: on-failure
env_file:
- .env
#logging:
#driver: "json-file"
#options:
#max-size: "200k"
#max-file: "10"
expose:
- "8080"
ports:
- "8080:8080"
postgres:
env_file:
- .env
restart: always
# redis:
# env_file:
# - .env
# restart: always
# deploy:
# TODO: research sane limits
# resources:
# limits:
# cpus: "0.50"
# memory: 50M
# reservations:
# cpus: "0.25"
# memory: 20M