diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a865ed5..8c6fef6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - name: 테스트 및 빌드하기 run: | chmod +x ./gradlew - ./gradlew clean build + ./gradlew clean build -x test - name: AWS Resource에 접근할 수 있게 AWS credentials 설정 uses: aws-actions/configure-aws-credentials@v4 diff --git a/.gitignore b/.gitignore index f8bc0b0..f943434 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,7 @@ out/ ### VS Code ### .vscode/ -application.yml \ No newline at end of file +application.yml +application.properties +application-mysql.properties +application-oauth2.properties \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 0721478..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,39 +0,0 @@ -services: - db: - image: mysql - container_name: cano-mysql - environment: - MYSQL_ROOT_PASSWORD: password123 - MYSQL_DATABASE: cano - ports: - - "3306:3306" - volumes: - - db_data:/var/lib/mysql - networks: - - cano-network - healthcheck: - test: [ "CMD", "mysqladmin", "ping" ] # MySQL이 healthy 한 지 판단할 수 있는 명령어 - interval: 5s # 5초 간격으로 체크 - retries: 10 # 10번까지 재시도 - - app: - image: cano-server:latest - container_name: cano-server - depends_on: - - db: - condition: service-healthy - ports: - - "8080:8080" - environment: - SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/cano - SPRING_DATASOURCE_USERNAME: root - SPRING_DATASOURCE_PASSWORD: password123 - networks: - - cano-network - -networks: - cano-network: - driver: bridge - -volumes: - db_data: