Environment variables
Here is a list of environment variables used by runtipi and their usage. These values are set in the .env
file and cannot be manually changed as the file is generated by the start
command.
You can change some values by using custom settings or by using custom environment variables.
Variable | Description |
---|---|
INTERNAL_IP | This is the IP address of the server in the internal network. It is used to generate links to the web interface. |
ARCHITECTURE | This is the architecture of the server. It is used to download the correct version of the runtipi apps. |
TIPI_VERSION | The current version of runtipi. |
ROOT_FOLDER_HOST | The root folder of the runtipi installation. |
NGINX_PORT | The port used by nginx without SSL (default 80) |
NGINX_PORT_SSL | The port used by nginx with SSL (default 443) |
STORAGE_PATH | The path where to store the app-data folder. |
POSTGRES_HOST | The host of the postgres database. |
POSTGRES_PASSWORD | The password of the postgres database. |
POSTGRES_PORT | The port used by postgres (default 5432) |
POSTGRES_USERNAME | The username of the postgres database. |
POSTGRES_DBNAME | The name of the postgres database. |
REDIS_HOST | The host of the redis database. |
REDIS_PASSWORD | The password of the redis database. |
NODE_ENV | The environment of the server. |
DOMAIN | The domain name of the server. |
LOCAL_DOMAIN | The domain name of the server in the local network. |
APPS_REPO_URL | The URL of the apps repository. |
APPS_REPO_ID | A hash of the apps repository URL. |
TZ | The timezone of the server. Used only by some apps |
DNS_IP | The IP address of the DNS server. Legacy variable, not used anymore. Kept for compatibility. |
JWT_SECRET | The secret used to sign the JWT tokens. |
DEMO_MODE | Whether the server will be in demo mode and have a limited set of features. |
GUEST_DASHBOARD | Whether the server will have a guest dashboard. |
ALLOW_ERROR_MONITORING | Whether the server will send error reports to runtipi developers. |
PERSIST_TRAEFIK_CONFIG | Do not replace the traefik config in every restart |