Skip to content
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

DIRECT_ADDRESS env variable is ignored. #3

Open
AxelFooley opened this issue Sep 2, 2024 · 1 comment
Open

DIRECT_ADDRESS env variable is ignored. #3

AxelFooley opened this issue Sep 2, 2024 · 1 comment

Comments

@AxelFooley
Copy link

Seems like the variable is ignored and services still start listening on 127.0.0.1

image

Also, i configured a cloudflare tunnel and provided the token as an env var, the tunnel connector is created as expected:

2024-09-02T10:57:25Z INF Starting tunnel tunnelID=eccc958c-XXX
2024-09-02T10:57:25Z INF Version 2024.8.2
2024-09-02T10:57:25Z INF GOOS: linux, GOVersion: go1.22.2, GoArch: amd64
2024-09-02T10:57:25Z INF Settings: map[metrics:localhost:2999 token:*****]
2024-09-02T10:57:25Z INF Environmental variables map[CF_TUNNEL_TOKEN:eyXXX]
2024-09-02T10:57:25Z INF cloudflared will not automatically update if installed by a package manager.
2024-09-02T10:57:25Z INF Generated Connector ID: e267210b-b41c-4001-b19e-dddf0bc68b13```

I have mapped in the tunnel configuration a public hostname to 127.0.0.1:11111 but when trying to pointing my browser at it i get the default nginx reverse proxy page, adding /login gives a 404.

I am deploying this in runpod with the provided docker image.
@robballantyne
Copy link
Member

Services are always bound to localhost with http and no Auth. It's caddy that binds to the external interface on 1111

DIRECT_ADDRESS is unrelated to the cloudflare tunnel, but if you want it to point to your domain you can use SERVICEPORTAL_URL

I don't use RunPod anymore so not sure if anything has changed there but everything was working as expected last I tried

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants