From 3ff0b2e98722e8c05ad2883cefd7c0c55936dce3 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 13:34:24 +0200 Subject: [PATCH] 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}