Configurable bind hosts for api and gateway

(#3971) Feature Closed: Shipped self-hosting

Current problem

The admin, app-proxy, media-proxy and push service all have configurable addresses to listen on (FLUXER_xxx_HOST). Api and gateway do not, which makes hosting them on a different host from the reverse proxy difficult

Proposed change

Introduce FLUXER_API_HOST and FLUXER_GATEWAY_HOST and have the services listen to incoming connections on those addresses only.

Platform

Self-hosting

  1. The pull request fluxer#4007 mentions this post Merged

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Under consideration to Shipped
The api and gateway can now be told which address to listen on. FLUXER_API_HOST sets it for the api and FLUXER_GATEWAY_BIND_HOST for the gateway. Both are empty by default, which means every interface. They work the same way as the admin, app-proxy, media-proxy and push host settings. The stock docker-compose.yml doesn't pass any of them into the containers, so set them in your own compose override or when you run the services yourself.