From f917bbdde8a28c7845594c89ebd5275023c7382c Mon Sep 17 00:00:00 2001 From: grantzile Date: Thu, 16 Jan 2025 00:18:15 +0900 Subject: [PATCH] fix: change exposed port --- .github/workflows/build-test.yaml | 3 --- docker-compose.yaml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index a30a137..1749c74 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -142,7 +142,4 @@ jobs: key: ${{ secrets.EC2_SSH_PRIVATE_KEY }} script: | echo "Starting containers..." - export SPRING_DATASOURCE_URL=${{ secrets.SPRING_DATASOURCE_URL }} - export SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME }} - export SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD }} docker compose up -d --no-deps myapp diff --git a/docker-compose.yaml b/docker-compose.yaml index 6e208fb..9a03fde 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -19,7 +19,7 @@ services: restart: on-failure container_name: myapp-container ports: - - "8080:8080" + - "80:8080" depends_on: - mysql networks: