raspap-docker
raspap-docker copied to clipboard
RaspApp in Docker - WebGui not accessible
Hello, just tested RaspAP in a docker container and found the following issue
https://github.com/RaspAP/raspap-docker/blob/6d96e851b4b2cb6369d26d2b3e8eac013b440e66/docker-compose.yaml#L18
The default value RASPAP_WEBGUI_PORT=80 should be 8081, as the exposed port in
https://github.com/RaspAP/raspap-docker/blob/6d96e851b4b2cb6369d26d2b3e8eac013b440e66/Dockerfile#L29
is set to 8081 and the portmapping settings can be removed, as they have no effect anyway
ports:
- "8081:8081"
The port settings are discarded:
pi@raspi5:~/raspi5-services $ docker compose up -d --remove-orphans
[+] Running 2/2
✔ Container raspap Started 10.8s
! raspap Published ports are discarded when using host network mode