-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Postgres DB behind caddy-docker-proxy #680
Comments
Caddy by default is an HTTP(s) (layer 7) server/reverse proxy. |
Maybe this is the only discussion where someone claimed to get it working: #236 The main challenge at the moment is that it is impossible to write IP addresses in key of of a docker label because dot means nesting, and we don't support escaping it. But doing it without IP, just with port might work. |
Thank you @lucaslorentz - I will check that discussion out. |
@accforgithubtest have you make it worked? |
@Rizary - Not yet unfortunately. |
I am seeking help to get postgres running behind caddy-docker-proxy.
Is it possible to host the postgres db behind caddy docker proxy, especially without opening the ports on the docker host ?
I currently have pihole redirecting local.host to the ip address of docker host.
Postgres, pihole, caddy-docker-proxy are all set up via docker compose, on the same default bridge network, with ipv6 disabled.
This set-up is working for the most part, except for the reverse proxying using caddy-docker-proxy.
I tried using dbeaver to connect to postgres -
jdbc:postgresql://postgres.local.host/root
and get connection refused even when I pass the user credentials on the UI. No logs on both postgres and caddy-docker-proxy container logs.jdbc:postgresql://local.host:5432/root
using the user credentials on the UI.This means even though I have added the below labels to postgres container, it doesn't seem to be doing the reverse proxying.
Am i missing any additional labels needed for a database reverse proxying ?
TIA to anyone who can share a working docker compose set up for postgres behind caddy-docker-proxy.
The text was updated successfully, but these errors were encountered: