mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[GH-ISSUE #63] Listen to 0.0.0.0 #50
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @nxmad on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/63
Hi guys. Is there any option to configure host PG Back Web listens to?
I was expecting it will listen to 0.0.0.0 by default since it's not available to reverse proxies like Nginx or Traefik if it listens to localhost inside container.
I'm not familiar with Echo framework, but it seems like if you change this line
github.com/eduardolat/pgbackweb@d7612836e6/cmd/app/main.go (L47)to
it ain't gonna break anything and will add support for setups with reverse proxies. Or you could possibly use env variable for that.
@eduardolat commented on GitHub (Dec 2, 2024):
I'll add environment variables for host and port in the next release
@eduardolat commented on GitHub (Feb 6, 2025):
I am pleased to inform you that starting with version v0.4.0 this option is available
PBW_LISTEN_HOST: Host for the server to listen on, default 0.0.0.0 (optional)
PBW_LISTEN_PORT: Port for the server to listen on, default 8085 (optional)