mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-15 05:33:26 +01:00
OUTBOUND_PORT is not doing anything
#68
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hanibachi on GitHub (Nov 9, 2025).
the web server is still serving on port 8000 despite the
OUTBOUND_PORTbeing set to 9005.the container logs :
also from inside the container :
navigating to 9005 returns bad gateway, navigating to 8000 u get the webui
@eitchtee commented on GitHub (Nov 9, 2025):
Hey there. Are you using the docker-compose available in the repo?
The OUTBOUND_PORT var is used only on that docker compose file as a way to map the internal port (8000) to any port you want in the line:
${OUTBOUND_PORT}:8000. If you're not using the original docker-compose file, you'd probably want to add this mapping somewhere on you docker run command or compose file. This should be better documented.If you're using something like nginx-proxy-manager connecting to containers directly from the same docker network, then you'd need to use the internal port instead of the exposed port.
With that said, as far as I know this is standard procedure with docker containers, as the internal port doesn't really matter since you can expose it as any other port. But it should be trivially easy to add another variable to control this and use another port internally, do you have a use case for this?
@Hanibachi commented on GitHub (Nov 9, 2025):
my use case is with podman, pods in podman share a single namespace so two containers cannot attach to the same port. it's kind of a niche case, but being able to to control the port is essential is such cases.
@eitchtee commented on GitHub (Nov 9, 2025):
Can you please try use the image/tag:
eitchtee/wygiwyh:test_internal_port? Set the env varINTERNAL_PORTto whatever port you want the application to listen on internally.Then let me know If it works, so I can publish a proper new version with this change.
@eitchtee commented on GitHub (Nov 24, 2025):
This is available on v0.18.0