From 30feb4e975fafcd6303339750ee21fa6ba03a311 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 22 Feb 2026 16:03:51 +0100 Subject: [PATCH] Update docker-compose.yml --- examples/unify-network-application/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/unify-network-application/docker-compose.yml b/examples/unify-network-application/docker-compose.yml index bdcd47a..3fd24f7 100644 --- a/examples/unify-network-application/docker-compose.yml +++ b/examples/unify-network-application/docker-compose.yml @@ -35,6 +35,9 @@ services: unifi-db: image: docker.io/mongo:8.2 container_name: unifi-network-application-mongodb + restart: unless-stopped + expose: + - 27017 environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD= @@ -45,6 +48,3 @@ services: volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/unifi-network-application/mongodb_data:/data/db - ./init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro - restart: unless-stopped - expose: - - 27017