Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit d280b76

Browse files
authored
Merge pull request #57 from algotyrnt/dev
fixed deploy error
2 parents 82fbeda + 5030931 commit d280b76

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ jobs:
4040
--image=us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/shiftsl-backend/spring-app \
4141
--platform=managed \
4242
--region=us-central1 \
43-
--allow-unauthenticated
43+
--allow-unauthenticated \
44+
--add-cloudsql-instances=${{ secrets.CLOUD_SQL_INSTANCE_NAME }} \
45+
--set-startup-probe-tcp-socket-port=8080 # Explicitly set TCP probe on 8080 (optional, as it's default)

src/main/resources/application-dev.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ spring.datasource.password=${env.DATABASE_PWD}
44

55
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
66
spring.jpa.hibernate.ddl-auto=update
7+
8+
server.address=0.0.0.0
9+
server.port=${PORT:8080}

0 commit comments

Comments
 (0)