-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (41 loc) · 840 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (41 loc) · 840 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
version: "3.7"
services:
blue:
image : ${REPO_URL}/${ECR_REPOSITORY}:${IMAGE_TAG}
ports:
- 8080:8080
networks:
- backend
logging:
driver: awslogs
options:
awslogs-group: "sms-logs"
awslogs-region: "ap-northeast-2"
awslogs-stream: "backend-start-logs"
green:
image : ${REPO_URL}/${ECR_REPOSITORY}:${IMAGE_TAG}
ports:
- 8090:8080
networks:
- backend
logging:
driver: awslogs
options:
awslogs-group: "sms-logs"
awslogs-region: "ap-northeast-2"
awslogs-stream: "backend-start-logs"
redis:
image : redis:alpine
ports:
- 6379:6379
networks:
- backend
nginx:
image : ${NGINX_URL}
ports:
- 80:80
networks:
- backend
networks:
backend:
driver: bridge