-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
42 lines (40 loc) · 1.35 KB
/
docker-compose.yaml
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
version: "3"
services:
backend:
image: ${DOCKER_BACK_REPO}/${DOCKER_BACK_TAG}
environment:
- DATABASE_HOST=${DATABASE_HOST}
- DATABASE_DATABASE=${DATABASE_DATABASE}
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- DATABASE_PORT=${DATABASE_PORT}
- DATABASE_USER=${DATABASE_USER}
- MONGODB_URL=${MONGODB_URL}
- MONGODB_DBNAME=${MONGODB_DBNAME}
- JWT_ACCESS_TOKEN_SECRET=${JWT_ACCESS_TOKEN_SECRET}
- JWT_ACCESS_TOKEN_TIME=${JWT_ACCESS_TOKEN_TIME}
- NAVER_CLIENT_ID=${NAVER_CLIENT_ID}
- NAVER_CLIENT_SECRET=${NAVER_CLIENT_SECRET}
- REDIS_URL=${REDIS_URL}
- NODE_ENV=${NODE_ENV}
- PORT=${PORT}
- FRONTEND_BASE_URL=${FRONTEND_BASE_URL}
- X_NCP_APIGW_API_KEY=${X_NCP_APIGW_API_KEY}
- X_NCP_CLOVASTUDIO_API_KEY=${X_NCP_CLOVASTUDIO_API_KEY}
- X_NCP_CLOVASTUDIO_REQUEST_ID=${X_NCP_CLOVASTUDIO_REQUEST_ID}
expose:
- 3000
extra_hosts:
- host.docker.internal:host-gateway
redis:
image: "redis:6.0.9-alpine"
expose:
- 6379
frontend:
image: ${DOCKER_REPO}:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./conf/nginx.conf:/etc/nginx/conf.d/nginx.conf
- /etc/letsencrypt/live/www.lockfestival.com/fullchain.pem:/etc/ssl/cert.pem
- /etc/letsencrypt/live/www.lockfestival.com/privkey.pem:/etc/ssl/key.pem