nextcloud: add compose-aio.yaml for Nextcloud All-in-One

Follows the upstream AIO layout (fixed names, no env templating);
configured for use behind Nginx Proxy Manager via APACHE_PORT=11000.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
code
2026-07-16 06:24:41 +00:00
co-authored by Claude Fable 5
parent b4375c3e09
commit db7bd3dc9c
+26
View File
@@ -0,0 +1,26 @@
# Nextcloud All-in-One (AIO)
# The master container manages and spawns all other Nextcloud containers itself.
# Container name and volume name are fixed requirements of AIO — do not change them.
services:
nextcloud-aio-mastercontainer:
image: ghcr.io/nextcloud-releases/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
init: true
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
# Behind Nginx Proxy Manager: Apache listens on this port for proxied traffic
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
# Where AIO stores Nextcloud user data on the host
- NEXTCLOUD_DATADIR=/data/nextcloud-aio
ports:
# AIO admin interface (self-signed https)
- 8080:8080
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer