2022-01-19 20:47:50 +08:00
version : "3.8"
2021-12-05 01:54:50 +08:00
volumes :
nextcloud_aio_mastercontainer :
2022-06-01 00:53:46 +08:00
name : nextcloud_aio_mastercontainer # This line is not allowed to be changed
2021-12-05 01:54:50 +08:00
services :
nextcloud :
2022-05-04 16:08:17 +08:00
image : nextcloud/all-in-one:latest # Must be changed to 'nextcloud/all-in-one:latest-arm64' when used with an arm64 CPU
restart : always
2022-06-01 00:53:46 +08:00
container_name : nextcloud-aio-mastercontainer # This line is not allowed to be changed
2021-12-05 01:54:50 +08:00
volumes :
2022-06-01 00:53:46 +08:00
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed
2022-05-17 22:06:01 +08:00
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation
2021-12-05 01:54:50 +08:00
ports :
2022-05-04 16:08:17 +08:00
- 80 : 80 # Can be removed when running behind a reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
2021-12-05 01:54:50 +08:00
- 8080 : 8080
2022-05-04 16:08:17 +08:00
- 8443 : 8443 # Can be removed when running behind a reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# environment: # Is needed when using any of the options below
# - APACHE_PORT=11000 # Is needed when running behind a reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
2022-06-07 06:43:48 +08:00
# - TALK_PORT=3478 # This allows to adjust the port that the talk container is using.
2022-05-19 05:44:52 +08:00
# - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
# - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
2022-06-07 05:44:25 +08:00
# - DOCKER_SOCKET_PATH=/var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail.
2022-05-06 18:40:37 +08:00
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
# caddy:
# image: caddy:alpine
# restart: always
# container_name: caddy
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - ./certs:/certs
# - ./config:/config
# - ./data:/data
# - ./sites:/srv
2022-05-07 05:20:04 +08:00
# network_mode: "host"