docker compose: apply restart policy to all services

This commit is contained in:
se4598 2024-08-07 17:14:59 +02:00 committed by GitHub
parent edbe5807c2
commit 52056aa1d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,6 +79,7 @@ services:
test: entrypoint worker_healthcheck
postgres:
<<: *restart-policy
image: postgres:16
healthcheck:
<<: *healthcheck_defaults
@ -90,6 +91,7 @@ services:
- "c3nav-postgres:/var/lib/postgresql/data"
redis:
<<: *restart-policy
image: redis:7.2
command: redis-server --save 60 1 --loglevel warning
healthcheck: