Skip to content

Commit

Permalink
disable healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
masih committed Sep 19, 2023
1 parent 36a84f4 commit 2de0f30
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ services:
- '27017:27017'
volumes:
- ${MOTION_HOME:-$HOME/.motion}/zenko/mongodbMetadata:/data/db
healthcheck:
test: mongo --eval 'db.runCommand("ping").ok' localhost:27017/${MONGODB_DATABASE:-metadata} --quiet
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
# healthcheck:
# test: mongo --eval 'db.runCommand("ping").ok' localhost:27017/${MONGODB_DATABASE:-metadata} --quiet
# interval: 10s
# timeout: 5s
# retries: 10
# start_period: 30s
motion:
image: ghcr.io/filecoin-project/motion:main
ports:
Expand All @@ -27,6 +27,7 @@ services:
- ${MOTION_HOME:-$HOME/.motion}/storage:/usr/src/app/storage
cloudserver:
image: ghcr.io/filecoin-project/motion-cloudserver:main
restart: always
environment:
REMOTE_MANAGEMENT_DISABLE: 1
S3DATA: 'multiple'
Expand All @@ -44,4 +45,4 @@ services:
- ${S3AUTH_CONFIG:-$PWD/authdata.json}:/usr/src/app/conf/authdata.json
depends_on:
mongodb:
condition: service_healthy
condition: service_started

0 comments on commit 2de0f30

Please sign in to comment.