Skip to content

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

VariableDescriptionDefault
port or pThe port the server will listen on1188
tokenAccess token to protect your APInull
sDeepL Pro OAuth Bearer access token. (Changed in v1.2.0 — was the legacy dl_session cookie before.)null
proxyThe http proxy server address.null

Docker Environment Variables

VariableDescriptionDefault
PORTThe port the server will listen on1188
TOKENAccess token to protect your APInull
DL_SESSIONDeepL 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
PROXYThe 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.

Released under the MIT License.