fix: update healthcheck command for PostgreSQL service in Docker Compose
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 31s
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 31s
This commit is contained in:
@@ -10,10 +10,11 @@ services:
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${SPRING_DATASOURCE_USERNAME} -d ${APP_DB_NAME:-condado}"]
|
||||
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -p 5432 -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
|
||||
condado-newsletter:
|
||||
image: sancho41/condado-newsletter:latest
|
||||
|
||||
Reference in New Issue
Block a user