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/UTCReference
| Variable | Description |
|---|---|
HOME | The default home directory. |
PATH | The search paths to locate executable commands. |
PWD | The current working directory when the server starts. |
SERVER_IP | The server IP, usually 0.0.0.0. |
SERVER_MEMORY | Memory limit assigned to the server, in MB. |
SERVER_PORT | Network port allocated to the server. |
STARTUP | The startup command executed when the server starts. |
TERM | Terminal type exposed to the container environment. |
TZ | Timezone of the container. |