vx3r / wg-gen-web

Simple Web based configuration generator for WireGuard
https://wg-gen-web-demo.127-0-0-1.fr
Do What The F*ck You Want To Public License
1.6k stars 192 forks source link

the port 8080 should be set by "ports" #93

Closed r4ym0n closed 3 years ago

r4ym0n commented 3 years ago

in compose file , the web port is set by expose , which only expose port in the docker network.

expose:
   - "8080/tcp"

change it into

ports:
   - "8080:8080"

batter

vx3r commented 3 years ago

dpends if you use a revers proxy or not, how you want to expose the service to outside world. Using ports and exposing 8080 without ssl is not a best practice