Skip to content

Commit

Permalink
fix: docker-compose 설정에 redis를 추가한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarltj committed Jan 28, 2024
1 parent 4db0062 commit 1a0a063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ services:
KAKAO_CLIENT_ID: ${KAKAO_CLIENT_ID}
KAKAO_CLIENT_SECRET: ${KAKAO_CLIENT_SECRET}
KAKAO_REDIRECT_URI: ${KAKAO_REDIRECT_URI}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}

redis:
container_name: moneymong-redis
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ spring:
datasource:
db:
pool-name: moneymong
# jdbc-url: jdbc:mysql://moneymong-db:3306/moneymong?useSSL=false&&allowPublicKeyRetrieval=true
jdbc-url: jdbc:mysql://49.50.162.109:3306/moneymong?useSSL=false&&allowPublicKeyRetrieval=true
jdbc-url: jdbc:mysql://moneymong-db:3306/moneymong?useSSL=false&&allowPublicKeyRetrieval=true
username: root
password: ${DB_ROOT_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
Expand Down

0 comments on commit 1a0a063

Please sign in to comment.