add healthchecks where possible
This commit is contained in:
@@ -62,6 +62,12 @@ services:
|
||||
- db
|
||||
- redis
|
||||
environment: *default-env
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 2m
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
@@ -110,6 +116,8 @@ services:
|
||||
image: redis:5.0
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
#mailin:
|
||||
# image: loomio/mailin-docker:latest
|
||||
# networks:
|
||||
|
||||
Reference in New Issue
Block a user