From b8dae3b2008a0d9b98f1b2dc6f0aa8aa844aeb1b Mon Sep 17 00:00:00 2001 From: jihyun Date: Sat, 31 Aug 2024 15:25:09 +0900 Subject: [PATCH] =?UTF-8?q?[Chore]=20=EB=8F=84=EC=BB=A4=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EC=A6=88=20=EC=9E=AC=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cb3aac4..319050a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,15 @@ 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: @@ -15,4 +17,4 @@ services: networks: app-network: - driver: bridge \ No newline at end of file + driver: bridge