Skip to main content

Proxy Configuration

To configure a proxy for the Gml Backend, you need to add the following environment variables. This is useful if your server is behind a proxy and needs access to external resources (e.g., Market).

Configuration in .env

Add the following variables to your .env file:

# Proxy
HTTP_PROXY_ADDRESS=http://127.0.0.1:10801
HTTP_PROXY_USERNAME=
HTTP_PROXY_PASSWORD=

Configuration in docker-compose.yml

You can also specify these variables directly in your docker-compose.yml for the gml-web-api service:

  gml-web-api:
image: ghcr.io/gml-launcher/gml.web.api:master
# ... other settings
environment:
# ... other environment variables
- HTTP_PROXY_ADDRESS=http://127.0.0.1:10801
- HTTP_PROXY_USERNAME=
- HTTP_PROXY_PASSWORD=