manual init 2

This commit is contained in:
peskyadmin 2025-06-04 19:48:11 -05:00
parent c464fef0d9
commit d6bd4b6f56

View File

@ -14,16 +14,14 @@ services:
cap_add:
- net_admin
- sys_module
networks:
- nextcloud-aio
restart: unless-stopped
nextcloud-aio:
image: ghcr.io/nextcloud-releases/all-in-one:latest
container_name: nextcloud-aio-mastercontainer
init: true
restart: always
# ports:
# - "80:80"
# - "8080:8080"
# - "8443:8443"
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
@ -32,3 +30,30 @@ services:
network_mode: service:nextcloud-aio-ts
depends_on:
- nextcloud-aio-ts
nextcloud-aio:
image: ghcr.io/nextcloud-releases/all-in-one:latest
container_name: nextcloud-aio-mastercontainer # app requirement
depends_on:
- nextcloud-aio-ts
environment:
- APACHE_IP_BINDING=0.0.0.0
- APACHE_PORT=11000
- NEXTCLOUD_ENABLE_DRI_DEVICE=true
- NEXTCLOUD_STARTUP_APPS=memories music twofactor_totp
- SKIP_DOMAIN_VALIDATION=true # requirement for tailscale
init: true
networks:
- nextcloud-aio
restart: always
volumes:
- nextcloud-aio-data:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
# extra_hosts:
# - "host.docker.internal:host-gateway"
networks:
nextcloud-aio:
name: nextcloud-aio # app requirement for domain
volumes:
nextcloud-aio-data:
name: nextcloud_aio_mastercontainer # app requirement for backup feature
nextcloud-tailscale-data: