-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 1.02 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
name: "biseo"
services:
web:
container_name: biseo-web
image: ghcr.io/sparcs-kaist/biseo-web:prod
labels:
- "com.centurylinklabs.watchtower.enable=true"
restart: always
ports:
- "${EXPOSE_PORT:?}:80"
environment:
- SERVER_URI="http://api:8000"
depends_on:
- api
networks:
- frontend
api:
container_name: biseo-api
image: ghcr.io/sparcs-kaist/biseo-api:prod
labels:
- "com.centurylinklabs.watchtower.enable=true"
restart: always
environment:
- NODE_ENV=production
- SERVER_PORT=8000
- DATABASE_URL=${DATABASE_URL}
- SECRET_KEY=${SECRET_KEY}
- GOOGLE_CLIENT=${GOOGLE_CLIENT}
- GOOGLE_SECRET=${GOOGLE_SECRET}
networks:
- frontend
- backend
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_LABEL_ENABLE=true
networks:
frontend:
backend: