unifi/healthcheck deaktiviert (Performance Test)
This commit is contained in:
@@ -4,14 +4,15 @@ services:
|
||||
container_name: unifi-db
|
||||
volumes:
|
||||
- ./data:/data/db
|
||||
- ./data/configdb:/data/configdb
|
||||
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
|
||||
healthcheck:
|
||||
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
restart: unless-stopped
|
||||
# healthcheck:
|
||||
# test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||
# interval: 10s
|
||||
# timeout: 10s
|
||||
# retries: 5
|
||||
# start_period: 20s
|
||||
# restart: unless-stopped
|
||||
|
||||
unifi-network-application:
|
||||
image: lscr.io/linuxserver/unifi-network-application:latest
|
||||
@@ -30,8 +31,8 @@ services:
|
||||
#- MONGO_TLS= #optional
|
||||
#- MONGO_AUTHSOURCE= #optional
|
||||
depends_on:
|
||||
unifi-db:
|
||||
condition: service_healthy
|
||||
- unifi-db
|
||||
# condition: service_healthy
|
||||
volumes:
|
||||
- ./config:/config
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user