Merge pull request #2483 from nextcloud/enh/noid/add-network-docker-compose

add internal network config to docker-compose file as well
This commit is contained in:
Simon L 2023-05-03 18:39:22 +02:00 committed by GitHub
commit a8bd3e8b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,3 +47,15 @@ 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
# # Inspired by https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml
# networks:
# nextcloud-aio:
# name: nextcloud-aio
# driver: bridge
# enable_ipv6: true
# ipam:
# driver: default
# config:
# - subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}