mirror of
https://github.com/tiennm99/coolify.git
synced 2026-07-28 12:20:45 +00:00
Update templates/compose/sparkyfitness.yaml
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
co-authored by
ShadowArcanist
parent
eca0c5cb0d
commit
d01d574d71
@@ -48,6 +48,11 @@ services:
|
||||
POSTGRES_DB: '${SPARKY_FITNESS_DB_NAME:-sparkyfitness}'
|
||||
POSTGRES_USER: '${SERVICE_USER_POSTGRES}'
|
||||
POSTGRES_PASSWORD: '${SERVICE_PASSWORD_POSTGRES}'
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
volumes:
|
||||
- 'sparkyfitness-db-postgresql:/var/lib/postgresql/data'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user