diff --git a/docker-compose.yml b/docker-compose.yml index c2358d4..ff2afa2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,9 @@ services: volumes: - ${LOCAL_STACK_DIR}/nextcloud/data:/var/www/html - /etc/timezone:/etc/timezone:ro + networks: + - default + - nextcloud env_file: - nextcloud.env - nc_db.env @@ -25,6 +28,8 @@ services: restart: ${DB_RESTART:-unless-stopped} volumes: - ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql + networks: + - nextcloud env_file: - nc_db.env environment: @@ -34,3 +39,5 @@ networks: default: external: name: ${NETWORK} + nextcloud: + external: false