Skip to content

Commit cee1644

Browse files
committed
[infra] docker-compose 수정
1 parent 05e29eb commit cee1644

3 files changed

Lines changed: 27 additions & 18 deletions

File tree

.idea/workspace.xml

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose-blue.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ services:
77
ports:
88
- "8081:8080"
99
environment:
10-
SPRING_PROFILES_ACTIVE: dev
11-
REDIS_HOST: host.docker.internal
12-
REDIS_PORT: 6379
13-
MONGODB_URI: mongodb://host.docker.internal:27017/movieZip
10+
SPRING_PROFILES_ACTIVE: prod
11+
DB_URL: ${DB_URL}
12+
DB_USERNAME: ${DB_USERNAME}
13+
DB_PASSWORD: ${DB_PASSWORD}
14+
MONGODB_URI: ${MONGODB_URI}
15+
REDIS_HOST: ${REDIS_HOST}
16+
REDIS_PORT: ${REDIS_PORT}
17+
JWT_SECRET: ${JWT_SECRET}

docker-compose-green.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ services:
77
ports:
88
- "8082:8080"
99
environment:
10-
SPRING_PROFILES_ACTIVE: dev
11-
REDIS_HOST: host.docker.internal
12-
REDIS_PORT: 6379
13-
MONGODB_URI: mongodb://host.docker.internal:27017/movieZip
10+
SPRING_PROFILES_ACTIVE: prod
11+
DB_URL: ${DB_URL}
12+
DB_USERNAME: ${DB_USERNAME}
13+
DB_PASSWORD: ${DB_PASSWORD}
14+
MONGODB_URI: ${MONGODB_URI}
15+
REDIS_HOST: ${REDIS_HOST}
16+
REDIS_PORT: ${REDIS_PORT}
17+
JWT_SECRET: ${JWT_SECRET}

0 commit comments

Comments
 (0)