From 0b822f745e9fb0024292df2830eadeb9faedf9d5 Mon Sep 17 00:00:00 2001 From: Borgal Date: Thu, 27 Jun 2024 14:28:58 +0000 Subject: [PATCH] unifi/healthcheck deaktiviert (Performance Test) --- unifi/docker-compose.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/unifi/docker-compose.yml b/unifi/docker-compose.yml index dbcf31f..df8fd1c 100644 --- a/unifi/docker-compose.yml +++ b/unifi/docker-compose.yml @@ -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: