Skip to content

Environment Variables

Most of our containers are configured primarily via environment variables. They follow upstream conventions — refer to each application’s per-container page for the supported keys.

services:
my-app:
image: ghcr.io/trueforge-org/my-app:latest
environment:
TZ: Europe/Amsterdam
LOG_LEVEL: info
Terminal window
docker run -e TZ=Europe/Amsterdam -e LOG_LEVEL=info ghcr.io/trueforge-org/my-app:latest
env:
- name: TZ
value: Europe/Amsterdam
- name: LOG_LEVEL
value: info

For long lists of variables, use an env file:

services:
my-app:
image: ghcr.io/trueforge-org/my-app:latest
env_file:
- ./my-app.env

All our images respect the standard TZ variable, e.g. TZ=Europe/Amsterdam. If unset, the container defaults to UTC.