From 441c3c31f8f1bcc119d32fd53e2c9c2e52acc6f4 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sat, 12 Feb 2022 21:57:20 +0100 Subject: [PATCH] [nextcloud] Add internal network --- nextcloud/docker-compose.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index 1329fdb..54c129f 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -9,6 +9,8 @@ services: - POSTGRES_PASSWORD=postgres volumes: - postgres_data:/var/lib/postgresql/data + networks: + - nextcloud app: image: nextcloud:${nextcloud_version:-latest} @@ -24,11 +26,13 @@ services: - db networks: - webproxy + - nextcloud networks: - webproxy: - external: - name: webproxy + nextcloud: + webproxy: + external: true + name: webproxy volumes: postgres_data: