You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a4d2adf feat!: remove deprecated env var (Jose Celano)
ef15e0b refactor: [#851] rename env vars (Jose Celano)
Pull request description:
```text
TORRUST_TRACKER_BACK_ -> TORRUST_TRACKER_
TORRUST_TRACKER_DATABASE_DRIVER -> TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER
TORRUST_TRACKER_API_ADMIN_TOKEN -> TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN
TORRUST_TRACKER_CONFIG -> TORRUST_TRACKER_CONFIG_TOML
TORRUST_TRACKER_PATH_CONFIG -> TORRUST_TRACKER_CONFIG_TOML_PATH
```
DB_DRIVER values: `MySQL`, `Sqlite3`. Removed lowercase values `mysql` and `sqlite3` used in containers. Some enums use lowercase. This is a breaking change for containers but not for configuration. In the future, we could use lowercase also in the configuration.
ACKs for top commit:
josecelano:
ACK a4d2adf
Tree-SHA512: 9cbe5a94667c6a3df63949dc9a26e0323d909aef2e450e4de71b93be3d93d9ae9192d60f1a7b36f9fc0a886021a45ee28db005b83ab50d12f8a992d6dda254ff
Copy file name to clipboardexpand all lines: docs/containers.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -147,10 +147,10 @@ Environmental variables are loaded through the `--env`, in the format `--env VAR
147
147
148
148
The following environmental variables can be set:
149
149
150
-
-`TORRUST_TRACKER_PATH_CONFIG` - The in-container path to the tracker configuration file, (default: `"/etc/torrust/tracker/tracker.toml"`).
151
-
-`TORRUST_TRACKER_API_ADMIN_TOKEN` - Override of the admin token. If set, this value overrides any value set in the config.
152
-
-`TORRUST_TRACKER_DATABASE_DRIVER` - The database type used for the container, (options: `sqlite3`, `mysql`, default `sqlite3`). Please Note: This dose not override the database configuration within the `.toml` config file.
153
-
-`TORRUST_TRACKER_CONFIG` - Load config from this environmental variable instead from a file, (i.e: `TORRUST_TRACKER_CONFIG=$(cat tracker-tracker.toml)`).
150
+
-`TORRUST_TRACKER_CONFIG_TOML_PATH` - The in-container path to the tracker configuration file, (default: `"/etc/torrust/tracker/tracker.toml"`).
151
+
-`TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN` - Override of the admin token. If set, this value overrides any value set in the config.
152
+
-`TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER` - The database type used for the container, (options: `Sqlite3`, `MySQL`, default `Sqlite3`). Please Note: This dose not override the database configuration within the `.toml` config file.
153
+
-`TORRUST_TRACKER_CONFIG_TOML` - Load config from this environmental variable instead from a file, (i.e: `TORRUST_TRACKER_CONFIG_TOML=$(cat tracker-tracker.toml)`).
154
154
-`USER_ID` - The user id for the runtime crated `torrust` user. Please Note: This user id should match the ownership of the host-mapped volumes, (default `1000`).
155
155
-`UDP_PORT` - The port for the UDP tracker. This should match the port used in the configuration, (default `6969`).
156
156
-`HTTP_PORT` - The port for the HTTP tracker. This should match the port used in the configuration, (default `7070`).
0 commit comments