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