mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
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>
27 lines
941 B
YAML
27 lines
941 B
YAML
# 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
|