im trying to get nextcloud running using traeffik as reverse proxy my other docker containers work fine with this method but traeffik not accessible on 443 from outside and it seems like nextcloud doesnt like that
traeffik is running on port 8073 internally
the port open to the outside is 57836
help would be greatly appreciated
docker-compose.yml:
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 11232:8080
environment: # Is needed when using any of the options below
- NEXTCLOUD_DATADIR=/magic/space/strange/nextcloud/ncdata
- APACHE_PORT=8073
- APACHE_IP_BINDING=127.0.0.1
- NEXTCLOUD_UPLOAD_LIMIT=200G
- NEXTCLOUD_MEMORY_LIMIT=4096M
- NEXTCLOUD_ADDITIONAL_APKS=imagemagick
- NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick
- NEXTCLOUD_ENABLE_DRI_DEVICE=true
- SKIP_DOMAIN_VALIDATION=true
networks:
- reverse-proxy
labels:
traefik.enable: 'true'
traefik.http.routers.nextcloud.rule: 'Host(`nextcloud.sub.loseyourip.com`)'
traefik.http.routers.nextcloud.tls: 'true'
traefik.http.routers.nextcloud.entrypoints: 'websecure'
traefik.protocol: 'http'
traefik.port: '11232'
networks:
reverse-proxy:
external: True
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer