diff --git a/compose/nextcloud/.env.example b/compose/nextcloud/.env.example index 7afdd92..d1882f6 100644 --- a/compose/nextcloud/.env.example +++ b/compose/nextcloud/.env.example @@ -1,3 +1,4 @@ +AIO_PORT="8042" FULLTEXTSEARCH_JAVA_OPTIONS="-Xms1024M -Xmx1024M" NEXTCLOUD_DATADIR="/path/to/your/data" NEXTCLOUD_UPLOAD_LIMIT="16G" diff --git a/compose/nextcloud/docker-compose.yml b/compose/nextcloud/docker-compose.yml index d8b4b68..d676096 100644 --- a/compose/nextcloud/docker-compose.yml +++ b/compose/nextcloud/docker-compose.yml @@ -10,7 +10,7 @@ services: - "/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 # This adds the container to the same network as docker run would do. Comment this line and uncomment the line below and the networks section at the end of the file if you want to define a custom MTU size for the docker network ports: - - "8080:8080" # This is the AIO interface, served via https and self-signed certificate. See https://github.com/nextcloud/all-in-one#explanation-of-used-ports + - "${AIO_PORT:-8080}:8080" # This is the AIO interface, served via https and self-signed certificate. See https://github.com/nextcloud/all-in-one#explanation-of-used-ports - "11000:11000" # security_opt: ["label:disable"] # Is needed when using SELinux. See https://github.com/nextcloud/all-in-one#are-there-known-problems-when-selinux-is-enabled environment: # Is needed when using any of the options below