-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
66 lines (60 loc) · 1.57 KB
/
docker-compose.yml
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
version: '3'
services:
nginx:
image: nginx
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
network_mode: host
eureka-service:
build: ./eureka-server
ports:
- "8761:8761"
network_mode: host
redis:
image: redis
ports:
- "6379:6379"
network_mode: host
zuul-service:
build: ./zuul-server
ports:
- "8765:8765"
environment:
- JWT_SECRET_KEY=${JWT_SECRET_KEY}
- JWT_ACCESS_TOKEN_VALIDITY=${JWT_ACCESS_TOKEN_VALIDITY}
- JWT_REFRESH_TOKEN_VALIDITY=${JWT_REFRESH_TOKEN_VALIDITY}
- YAPP_17_RDS_URL=${YAPP_17_RDS_URL}
- YAPP_17_RDS_USERNAME=${YAPP_17_RDS_USERNAME}
- YAPP_17_RDS_PASSWORD=${YAPP_17_RDS_PASSWORD}
network_mode: host
depends_on:
- redis
- eureka-service
domain-service:
build: ./domain-service
ports:
- "8082:8082"
environment:
- YAPP_17_RDS_URL=${YAPP_17_RDS_URL}
- YAPP_17_RDS_USERNAME=${YAPP_17_RDS_USERNAME}
- YAPP_17_RDS_PASSWORD=${YAPP_17_RDS_PASSWORD}
- YAPP_17_S3_ACCESSKEY=${YAPP_17_S3_ACCESSKEY}
- YAPP_17_S3_SECRETKEY=${YAPP_17_S3_SECRETKEY}
network_mode: host
depends_on:
- zuul-service
- eureka-service
display-service:
build: ./display-service
ports:
- "8081:8081"
network_mode: host
environment:
- JWT_SECRET_KEY=${JWT_SECRET_KEY}
- JWT_ACCESS_TOKEN_VALIDITY=${JWT_ACCESS_TOKEN_VALIDITY}
- JWT_REFRESH_TOKEN_VALIDITY=${JWT_REFRESH_TOKEN_VALIDITY}
depends_on:
- zuul-service
- eureka-service