add healthcheck to portainer

This commit is contained in:
2018-10-27 09:28:44 -04:00
parent b72a506e7f
commit 72856026cd
4 changed files with 11 additions and 5 deletions

View File

@@ -37,6 +37,12 @@ services:
# cpus: '0.2'
memory: 32M
healthcheck:
test: ["CMD", "curl", "-If", "http://localhost:9000"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 20s
logging:
driver: fluentd