Environment Variables
DeepLX supports passing the following parameters for more advanced deployments. If you don't understand these, you can ignore them.
Command Line Arguments
| Variable | Description | Default |
|---|---|---|
port or p | The port the server will listen on | 1188 |
token | Access token to protect your API | null |
s | DeepL Pro OAuth Bearer access token. (Changed in v1.2.0 — was the legacy dl_session cookie before.) | null |
proxy | The http proxy server address. | null |
Docker Environment Variables
| Variable | Description | Default |
|---|---|---|
PORT | The port the server will listen on | 1188 |
TOKEN | Access token to protect your API | null |
DL_SESSION | DeepL Pro OAuth Bearer access token. (Changed in v1.2.0 — was the legacy dl_session cookie before. The env var name is kept for backward compatibility.) | null |
PROXY | The http proxy server address. | null |
If you want to use an HTTP proxy, the link should be in the following format: (DeepLX >= v0.9.5)
http://username:[email protected]:6152
You don't have to provide any of the above parameters. By default, it listens on port 1188 and there is no token protection, so anyone can access it. If you don't provide the Pro Bearer token via -s / DL_SESSION, you won't be able to use the Pro endpoint, but the Free and Official endpoints work without any configuration.