-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-dev.yml
85 lines (74 loc) Β· 2.67 KB
/
docker-compose-dev.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version : "3"
services:
nginx-dev:
container_name: nginx-dev
image: nginx
restart: always
ports:
- "80:80"
volumes:
- /home/app/nginx:/etc/nginx/conf.d
blue-dev:
container_name: dadok-dev-blue
image: ${DOCKER_DEV_REPO}
expose:
- "8080"
working_dir: /app
depends_on:
- nginx-dev
restart: always
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE}
DATASOURCE_URL: ${DATASOURCE_URL}
DATASOURCE_USERNAME: ${DATASOURCE_USERNAME}
DATASOURCE_PASSWORD: ${DATASOURCE_PASSWORD}
DRIVER_CLASS_NAME: ${DRIVER_CLASS_NAME}
HIBERNATE_DDL_AUTO: ${HIBERNATE_DDL_AUTO}
HIBERNATE_DIALECT: ${HIBERNATE_DIALECT}
HIBERNATE_FORMAT_SQL: ${HIBERNATE_FORMAT_SQL}
HIBERNATE_SHOW_SQL: ${HIBERNATE_SHOW_SQL}
HIBERNATE_DEFAULT_BATCH_FETCH_SIZE: ${HIBERNATE_DEFAULT_BATCH_FETCH_SIZE}
ENABLE_JPA_OPEN_IN_VIEW: ${ENABLE_JPA_OPEN_IN_VIEW}
DATABASE_NAME: ${DATABASE_NAME}
ENABLE_P6SPY: ${ENABLE_P6SPY}
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
KAKAO_CLIENT_ID: ${KAKAO_CLIENT_ID}
KAKAO_CLIENT_SECRET: ${KAKAO_CLIENT_SECRET}
KAKAO_REDIRECT_PATH: ${KAKAO_REDIRECT_PATH}
NAVER_CLIENT_ID: ${NAVER_CLIENT_ID}
NAVER_CLIENT_SECRET: ${NAVER_CLIENT_SECRET}
NAVER_REDIRECT_PATH: ${NAVER_REDIRECT_PATH}
ACCESS_TOKEN_EXPIRE_SECONDS: ${ACCESS_TOKEN_EXPIRE_SECONDS}
SERVER_HOST: ${SERVER_HOST}
green-dev:
container_name: dadok-dev-green
image: ${DOCKER_DEV_REPO}
expose:
- "8081"
working_dir: /app
depends_on:
- nginx-dev
restart: always
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE}
DATASOURCE_URL: ${DATASOURCE_URL}
DATASOURCE_USERNAME: ${DATASOURCE_USERNAME}
DATASOURCE_PASSWORD: ${DATASOURCE_PASSWORD}
DRIVER_CLASS_NAME: ${DRIVER_CLASS_NAME}
HIBERNATE_DDL_AUTO: ${HIBERNATE_DDL_AUTO}
HIBERNATE_DIALECT: ${HIBERNATE_DIALECT}
HIBERNATE_FORMAT_SQL: ${HIBERNATE_FORMAT_SQL}
HIBERNATE_SHOW_SQL: ${HIBERNATE_SHOW_SQL}
HIBERNATE_DEFAULT_BATCH_FETCH_SIZE: ${HIBERNATE_DEFAULT_BATCH_FETCH_SIZE}
ENABLE_JPA_OPEN_IN_VIEW: ${ENABLE_JPA_OPEN_IN_VIEW}
DATABASE_NAME: ${DATABASE_NAME}
ENABLE_P6SPY: ${ENABLE_P6SPY}
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
KAKAO_CLIENT_ID: ${KAKAO_CLIENT_ID}
KAKAO_CLIENT_SECRET: ${KAKAO_CLIENT_SECRET}
KAKAO_REDIRECT_PATH: ${KAKAO_REDIRECT_PATH}
NAVER_CLIENT_ID: ${NAVER_CLIENT_ID}
NAVER_CLIENT_SECRET: ${NAVER_CLIENT_SECRET}
NAVER_REDIRECT_PATH: ${NAVER_REDIRECT_PATH}
ACCESS_TOKEN_EXPIRE_SECONDS: ${ACCESS_TOKEN_EXPIRE_SECONDS}
SERVER_HOST: ${SERVER_HOST}