Skip to content

Commit

Permalink
wip: Add Healthcheck #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Apr 21, 2019
1 parent 8c77154 commit dd4becb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/maputnik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
interval: 1m
timeout: 10s
retries: 3
start_period: 3m
start_period: 5m
deploy:
labels:
- "traefik.docker.network=${DOCKER_NETWORK}"
Expand Down
2 changes: 1 addition & 1 deletion deploy/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- source: mongodb_conf
target: /etc/mongo/mongod.conf
healthcheck:
test: ["CMD", "echo", "\'db.runCommand("ping").ok\'", "|", "mongo", "localhost:27017/${MONGODB_DATABASE}", "--quiet"]
test: ["CMD", "echo", "\'db.runCommand(\"ping\").ok\'", "|", "mongo", "localhost:27017/${MONGODB_DATABASE}", "--quiet"]
interval: 30s
timeout: 10s
retries: 3
Expand Down

0 comments on commit dd4becb

Please sign in to comment.