diff --git a/docker-compose.yml b/docker-compose.yml index b8ad103..e6b7224 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 - /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 - networks: "nextcloud-aio" + networks: + - nextcloud-aio ports: - 8080:8080 - 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 networks: - nextcloud-aio: + - nextcloud-aio: name: nextcloud-aio driver_opts: com.docker.network.driver.mtu: 1440 \ No newline at end of file