Files
dotfiles/config/ansible/tasks/servers/services/nextcloud/docker-compose.yml.j2
Menno van Leeuwen 27649f31fc
Some checks failed
Python Lint Check / check-python (push) Waiting to run
Ansible Lint Check / check-ansible (push) Failing after 58s
Nix Format Check / check-format (push) Has been cancelled
feat: add Nextcloud service configuration and deployment tasks
2025-03-14 01:03:21 +01:00

19 lines
852 B
Django/Jinja

services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
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:
- /mnt/object_storage/services/nextcloud:/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
ports:
- 8080:8080
networks:
- caddy_network
networks:
caddy_network:
external: true
name: caddy_default