Skip to content

Commit 9ce44f4

Browse files
committed
fix: [#635] udpate tracker config
The TOML files have already been changed to follow breaking changes in the Tracker config. However, there was a pending env var to rename: ``` TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER -> TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER ```
1 parent 2abfcce commit 9ce44f4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.env.local

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ TORRUST_INDEX_CONFIG_TOML=
33
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY=MaxVerstappenWC2021
44
USER_ID=1000
55
TORRUST_TRACKER_CONFIG_TOML=
6-
TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER=Sqlite3
6+
TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER=Sqlite3
77
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=MyAccessToken

compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
- USER_ID=${USER_ID}
3535
- TORRUST_TRACKER_CONFIG_TOML=${TORRUST_TRACKER_CONFIG_TOML}
3636
- TORRUST_TRACKER_DATABASE=${TORRUST_TRACKER_DATABASE:-e2e_testing_sqlite3}
37-
- TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER=${TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER:-Sqlite3}
37+
- TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER=${TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER:-Sqlite3}
3838
- TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=${TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN:-MyAccessToken}
3939
networks:
4040
- server_side

contrib/dev-tools/container/e2e/mysql/e2e-env-up.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ USER_ID=${USER_ID:-1000} \
1111
TORRUST_INDEX_MYSQL_DATABASE="torrust_index_e2e_testing" \
1212
TORRUST_TRACKER_CONFIG_TOML=$(cat ./share/default/config/tracker.public.e2e.container.sqlite3.toml) \
1313
TORRUST_TRACKER_DATABASE="e2e_testing_sqlite3" \
14-
TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER="Sqlite3" \
14+
TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER="Sqlite3" \
1515
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN="MyAccessToken" \
1616
docker compose up --detach --pull always --remove-orphans

contrib/dev-tools/container/e2e/sqlite/mode/private/e2e-env-up.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ USER_ID=${USER_ID:-1000} \
1111
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY="MaxVerstappenWC2021" \
1212
TORRUST_TRACKER_CONFIG_TOML=$(cat ./share/default/config/tracker.private.e2e.container.sqlite3.toml) \
1313
TORRUST_TRACKER_DATABASE="e2e_testing_sqlite3" \
14-
TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER="Sqlite3" \
14+
TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER="Sqlite3" \
1515
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN="MyAccessToken" \
1616
docker compose up --detach --pull always --remove-orphans

contrib/dev-tools/container/e2e/sqlite/mode/public/e2e-env-up.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ USER_ID=${USER_ID:-1000} \
1111
TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY="MaxVerstappenWC2021" \
1212
TORRUST_TRACKER_CONFIG_TOML=$(cat ./share/default/config/tracker.public.e2e.container.sqlite3.toml) \
1313
TORRUST_TRACKER_DATABASE="e2e_testing_sqlite3" \
14-
TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER="Sqlite3" \
14+
TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER="Sqlite3" \
1515
TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN="MyAccessToken" \
1616
docker compose up --detach --pull always --remove-orphans

0 commit comments

Comments
 (0)