Files
homelab-docker-config/nextcloud/docker-compose.yml
2025-03-27 18:35:23 +01:00

13 lines
586 B
YAML

services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:v10.9.0
init: true
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
volumes:
- ${NEXTCLOUD_DATA_DIR}:/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
network_mode: bridge # add to the same network as docker run would do
ports:
- 8081:8080
- 8443:8443