-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.prod.yml
45 lines (45 loc) · 1.09 KB
/
docker-compose.prod.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
version: "3.7"
services:
backend:
image: water0641/ticket-backend:1.1.3
container_name: backend
hostname: backend
environment:
- MONGO_URI=${MONGO_URI}
- JWT_KEY_ADMIN_ACCESS=${JWT_KEY_ADMIN_ACCESS}
- JWT_KEY_MESSAGE=${JWT_KEY_MESSAGE}
- JWT_KEY_FRONT_ACCESS=${JWT_KEY_FRONT_ACCESS}
- NAVER_SERVICE_ID=${NAVER_SERVICE_ID}
- NAVER_ACCESS_KEY=${NAVER_ACCESS_KEY}
- NAVER_SECRET_KEY=${NAVER_SECRET_KEY}
- NAVER_CALLER=${NAVER_CALLER}
- GOSROCK_CODE=${GOSROCK_CODE}
expose:
- "5000"
logging:
driver: awslogs
options:
awslogs-group: "gosrock-backend-log"
awslogs-region: "ap-northeast-2"
awslogs-stream: "backend"
front:
image: water0641/ticket-front:1.1.3
container_name: front
ports:
- "3000:3000"
admin:
image: water0641/ticket-admin:1.1.2
container_name: admin
expose:
- "3100"
nginx:
depends_on:
- backend
- front
- admin
restart: always
build:
dockerfile: Dockerfile
context: ./nginx
ports:
- "80:80"