hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

HYPERDX_API_PORT and HYPERDX_API_URL conflicts with proxy

Open Saddamus opened this issue 1 year ago • 2 comments

Hello. These 2 variables are joined together. HYPERDX_API_PORT: will make instance to start on the port HYPERDX_API_URL will make the app to use api on HYPERDX_API_URL:HYPERDX_API_PORT This way you can not deploy any reverse proxy on the same host / IP as port is already in use. Is there any guide how to make it working with reverse proxy ?

Saddamus avatar Jun 21 '24 15:06 Saddamus

Hello. These 2 variables are joined together. HYPERDX_API_PORT: will make instance to start on the port HYPERDX_API_URL will make the app to use api on HYPERDX_API_URL:HYPERDX_API_PORT This way you can not deploy any reverse proxy on the same host / IP as port is already in use. Is there any guide how to make it working with reverse proxy ?

By default, HyperDX app/api will run on localhost with port 8080/8000. You can change this by updating HYPERDX_APP_** and HYPERDX_API_** variables in the .env file. After making your changes, rebuild images with make build-local.

and replace in .env IMAGE_NAME_HDX=ghcr.hyperdx.io/hyperdxio/hyperdx -> ghcr.io/hyperdxio/hyperdx

and docker compose up -d

Foxonn avatar Feb 22 '25 10:02 Foxonn

The build-local command should be fixed in https://github.com/hyperdxio/hyperdx/pull/630. No need to replace the IMAGE_NAME_HDX

wrn14897 avatar Feb 25 '25 00:02 wrn14897