19 lines
852 B
Django/Jinja
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 |