jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

Made webserver port configurable via environment variable #65

Closed Mattie112 closed 6 months ago

Mattie112 commented 6 months ago

Change Apache port if needed from the default 80 to WEBSERVER_PORT (to run unprivileged or with a host network where no port mapping is available).

Real life usecase: if you want to forward all traffic through a different container (VPN service) with the `--net='container:vpncontainer' option

https://docs.docker.com/network/drivers/host/

Want to try it out without building it yourself? Use this docker container: mattie112/temp:spotweb

Mattie112 commented 6 months ago

Thanks for merging!