Update docker-compose.yml

This commit is contained in:
hotstovejer 2025-12-06 18:08:51 -06:00
parent 211768f5da
commit 601a0a733e

View File

@ -8,7 +8,8 @@ services:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'! - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
network_mode: bridge # add to the same network as docker run would do network_mode: bridge # add to the same network as docker run would do
networks: "nextcloud-aio" networks:
- nextcloud-aio
ports: ports:
- 8080:8080 - 8080:8080
- 8443:8443 - 8443:8443
@ -69,7 +70,7 @@ volumes: # If you want to store the data on a different drive, see https://githu
# # Adjust the MTU size of the docker network. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-mtu-size-of-the-docker-network # # Adjust the MTU size of the docker network. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-mtu-size-of-the-docker-network
networks: networks:
nextcloud-aio: - nextcloud-aio:
name: nextcloud-aio name: nextcloud-aio
driver_opts: driver_opts:
com.docker.network.driver.mtu: 1440 com.docker.network.driver.mtu: 1440