forked from boostcampwm-2024/web05-Denamu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
63 lines (59 loc) · 1.39 KB
/
docker-compose.prod.yml
File metadata and controls
63 lines (59 loc) · 1.39 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
name: denamu-production
include:
- docker-compose.prod.infra.yml
services:
# WAS 서비스
app:
image: ${GHCR_URL}/server:latest
ports:
- '$SERVER_PORT:$SERVER_PORT'
env_file:
- /var/prod_config/server/.env.prod
networks:
- Denamu
depends_on:
mysql-db:
condition: service_healthy
redis:
condition: service_healthy
rabbitmq:
condition: service_healthy
volumes:
- /var/prod_data/server/logs:/app/logs
- /var/prod_data/objects:/app/objects
environment:
NODE_ENV: 'PROD'
TZ: 'Asia/Seoul'
# Feed Crawler 서비스
feed-crawler:
image: ${GHCR_URL}/feed-crawler:latest
env_file:
- /var/prod_config/feed-crawler/.env.prod
networks:
- Denamu
depends_on:
mysql-db:
condition: service_healthy
redis:
condition: service_healthy
volumes:
- /var/prod_data/feed-crawler/logs:/app/logs
environment:
NODE_ENV: 'PROD'
TZ: 'Asia/Seoul'
# Email Worker 서비스
email-worker:
image: ${GHCR_URL}/email-worker:latest
env_file:
- /var/prod_config/email-worker/.env.prod
networks:
- Denamu
depends_on:
rabbitmq:
condition: service_healthy
volumes:
- /var/prod_data/email-worker/logs:/app/logs
environment:
NODE_ENV: 'PROD'
TZ: 'Asia/Seoul'
stop_grace_period: 30s