Skip to content

Commit

Permalink
[Chore] 도커 컴포즈 재설정
Browse files Browse the repository at this point in the history
  • Loading branch information
JIHYUN2EE committed Aug 31, 2024
1 parent 0031e13 commit b8dae3b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
version: '3'
services:
app:
image: ${DOCKER_IMAGE}
image: jihyun2ee/fitpet:latest
env_file:
- .env ## 이게 필수. 이게 안 되어있었음.
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE}
PROD_MYSQL_HOST: ${PROD_MYSQL_HOST}
PROD_MYSQL_DB_NAME: ${PROD_MYSQL_DB_NAME}
PROD_MYSQL_USERNAME: ${PROD_MYSQL_USERNAME}
PROD_MYSQL_PASSWORD: ${PROD_MYSQL_PASSWORD}
SPRING_PROFILES_ACTIVE: prod
PROD_MYSQL_HOST: fitpet.cb26miuuaa9v.ap-southeast-2.rds.amazonaws.com
PROD_MYSQL_DB_NAME: fitpet
PROD_MYSQL_USERNAME: admin
PROD_MYSQL_PASSWORD: 12345555
ports:
- "8080:8080"
networks:
- app-network

networks:
app-network:
driver: bridge
driver: bridge

0 comments on commit b8dae3b

Please sign in to comment.