-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (40 loc) · 1.01 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
---
version: '3'
services:
web:
image: ${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/${REPO_WEB}:${TAG}
ports:
- 8443:8443
logging:
driver: awslogs
options:
awslogs-group: ${LOG_GROUP}
awslogs-region: ${REGION}
awslogs-stream-prefix: web
api:
image: ${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/${REPO_API}:${TAG}
ports:
- 8090:8090
logging:
driver: awslogs
options:
awslogs-group: ${LOG_GROUP}
awslogs-region: ${REGION}
awslogs-stream-prefix: api
environment:
CACHE_ENGINE: ${CACHE_ENGINE}
CACHE_ENDPOINT: ${CACHE_ENDPOINT}
back:
image: ${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/${REPO_BACK}:${TAG}
ports:
- 7080:7080
logging:
driver: awslogs
options:
awslogs-group: ${LOG_GROUP}
awslogs-region: ${REGION}
awslogs-stream-prefix: back
environment:
DB_ENGINE: ${DB_ENGINE}
DB_NAME: ${DB_NAME}
DB_ENDPOINT: ${DB_ENDPOINT}