-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
51 lines (46 loc) · 931 Bytes
/
docker-compose.prod.yml
File metadata and controls
51 lines (46 loc) · 931 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
45
46
47
48
49
50
51
version: "3.7"
services:
mongo:
container_name: "tla-mongo"
image: mongo
volumes:
- ./db-data/prod:/data/db
ports:
- 27017:27017
restart: always
env_file:
- .production.env
networks:
- todo-list-app
mongo-express:
container_name: "tla-me"
image: mongo-express
ports:
- 8081:8081
restart: always
env_file:
- .production.env
depends_on:
- mongo
networks:
- todo-list-app
backend:
container_name: "tla-backend"
image: snakpy/listlive-backend:latest
ports:
- 4000:4000
env_file:
- .production.env
depends_on:
- mongo
- mongo-express
networks:
- todo-list-app
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ~/.docker/config.json:/config.json
command: --interval 30
networks:
todo-list-app: