See the main README for an overview of installing TRAM via Docker. This document contains some additional detail that may be useful for customizing your TRAM instance.
Variable | Required | Description | |
---|---|---|---|
ALLOWED_HOSTS |
Yes | A list of hostnames that TRAM can be served from. | |
DJANGO_SUPERUSER_USERNAME |
Yes | The username for the TRAM super user (the default account you sign in with). | |
DJANGO_SUPERUSER_PASSWORD |
Yes | The password for the TRAM super user. | |
DJANGO_SUPERUSER_EMAIL |
Yes | The email address for the TRAM super user. (Not used in pratice, doesn't need to be a real address.) | |
DATA_DIRECTORY |
No | Any ML data and DB data is stored at the path indicated at this environment variable. Defaults to ./data . |
|
SECRET_KEY |
No |
A cryptographic secret used by Django. This secret can be generated using this command:
$ python3 -c "import secrets; print(secrets.token_urlsafe())"
If not provided, then a random secret is created at startup.
|
|
DEBUG |
No | Set to `true` or `yes` to enable Django debug mode, otherwise debug mode is disabled. |