From 3ff0b2e98722e8c05ad2883cefd7c0c55936dce3 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 13:34:24 +0200 Subject: [PATCH 1/5] add internal network config to docker-compose file as well Signed-off-by: Simon L --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3538cc8b..23e70b1b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,3 +47,16 @@ services: # - ./data:/data # - ./sites:/srv # network_mode: "host" + +# # Optional: If you need ipv6, follow step 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md first and then uncomment the below config in order to activate ipv6 for the internal nextcloud-aio network +# networks: +# nextcloud-aio: +# driver: bridge +# driver_opts: +# com.docker.network.bridge.name: nextcloud-aio +# enable_ipv6: true +# ipam: +# driver: default +# config: +# - subnet: ${IPV4_NETWORK:-172.22.1}.0/24 +# - subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64} From 04f84bb9b1cee1ac592ec607b219f579bd30eb16 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 13:52:33 +0200 Subject: [PATCH 2/5] add inspired by Signed-off-by: Simon L --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 23e70b1b..8e1f8066 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -49,6 +49,7 @@ services: # network_mode: "host" # # Optional: If you need ipv6, follow step 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md first and then uncomment the below config in order to activate ipv6 for the internal nextcloud-aio network +# # Inspired by https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml # networks: # nextcloud-aio: # driver: bridge From dad3477a9f5ed3066e0dba848bc19c2e0c724387 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 18:34:05 +0200 Subject: [PATCH 3/5] apply suggestion Signed-off-by: Simon L Co-authored-by: Zoey Signed-off-by: Simon L. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 8e1f8066..a5bd5c8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,6 +52,7 @@ services: # # Inspired by https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml # networks: # nextcloud-aio: +# name: nextcloud-aio # driver: bridge # driver_opts: # com.docker.network.bridge.name: nextcloud-aio From 17701ce256bf74f93f69a7ff5ec0ab8ad9690181 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 18:34:17 +0200 Subject: [PATCH 4/5] apply suggestion Signed-off-by: Simon L Co-authored-by: Zoey Signed-off-by: Simon L. --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a5bd5c8b..42e1ca49 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -60,5 +60,4 @@ services: # ipam: # driver: default # config: -# - subnet: ${IPV4_NETWORK:-172.22.1}.0/24 # - subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64} From a5d03e495e996f0638938a4007b9d19989ce139c Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 18:38:08 +0200 Subject: [PATCH 5/5] add suggestion Signed-off-by: Simon L Co-authored-by: Zoey Signed-off-by: Simon L. --- docker-compose.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 42e1ca49..328d83b5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -54,8 +54,6 @@ services: # nextcloud-aio: # name: nextcloud-aio # driver: bridge -# driver_opts: -# com.docker.network.bridge.name: nextcloud-aio # enable_ipv6: true # ipam: # driver: default