From d6bd4b6f56635a54efc6f1edc26b89ef6c76c47b Mon Sep 17 00:00:00 2001 From: peskyadmin Date: Wed, 4 Jun 2025 19:48:11 -0500 Subject: [PATCH] manual init 2 --- docker-compose.yml | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 53497d2..9ad4dfe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -31,4 +29,31 @@ services: - "host.docker.internal:host-gateway" network_mode: service:nextcloud-aio-ts depends_on: - - nextcloud-aio-ts \ No newline at end of file + - 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: \ No newline at end of file