I’m trying to deploy nextcloud-aio on my homelab, behind my pfsense firewall, that embed HAproxy
I use docker-compose with the following compose file :
version: '3.9'
services:
all-in-one:
image: 'nextcloud/all-in-one:latest'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- 'nextcloud_aio_mastercontainer:/mnt/docker-aio-config'
ports:
- '8843:8080'
environment:
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
restart: always
container_name: nextcloud-aio-mastercontainer
init: true
volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
HAproxy is configured to redirect to my docker_host_private_ip:11000 :
i can access the AIO interface at 192.168.100.6:8843, but not at nc.mydomain.tld, where i get a 503 error.
i’ve read throught AIO reverse proxy documentation, but can’t find what’s wrong in my setup.
any idea?