The logo Orion Docs
Servers

Environnement Variables

Variables available on the servers

Injected Variables

A set of environment variables are injected into every server at startup. These variables provide information about the runtime environment and server configuration.

The following variables are available by default:

# These values are provided as examples
HOME=/home/container
PATH=/mnt/binaries:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/home/container
SERVER_IP=0.0.0.0
SERVER_MEMORY=300
SERVER_PORT=4037
STARTUP=./start.bash
TERM=xterm
TZ=Etc/UTC

Reference

VariableDescription
HOMEThe default home directory.
PATHThe search paths to locate executable commands.
PWDThe current working directory when the server starts.
SERVER_IPThe server IP, usually 0.0.0.0.
SERVER_MEMORYMemory limit assigned to the server, in MB.
SERVER_PORTNetwork port allocated to the server.
STARTUPThe startup command executed when the server starts.
TERMTerminal type exposed to the container environment.
TZTimezone of the container.

On this page