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 Account dl_session cookie. | 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 Account dl_session cookie. | 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 dl_session
, you won't be able to use the Pro endpoint.