File tree Expand file tree Collapse file tree 6 files changed +11
-7
lines changed
contrib/dev-tools/container/e2e/sqlite/mode Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ services:
5555 - USER_ID=${USER_ID}
5656 - TORRUST_TRACKER_CONFIG_TOML=${TORRUST_TRACKER_CONFIG_TOML}
5757 - TORRUST_TRACKER_DATABASE=${TORRUST_TRACKER_DATABASE:-e2e_testing_sqlite3}
58- - TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER =${TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER :-Sqlite3}
58+ - TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER =${TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER :-Sqlite3}
5959 - TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=${TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN:-MyAccessToken}
6060 networks :
6161 - server_side
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ USER_ID=${USER_ID:-1000} \
1212 TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=" MyAccessToken" \
1313 TORRUST_TRACKER_CONFIG_TOML=$( cat ./share/default/config/tracker.private.e2e.container.sqlite3.toml) \
1414 TORRUST_TRACKER_DATABASE=" e2e_testing_sqlite3" \
15- TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER =" Sqlite3" \
15+ TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER =" Sqlite3" \
1616 TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=" MyAccessToken" \
1717 docker compose up --detach --pull always --remove-orphans
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ USER_ID=${USER_ID:-1000} \
1212 TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=" MyAccessToken" \
1313 TORRUST_TRACKER_CONFIG_TOML=$( cat ./share/default/config/tracker.public.e2e.container.sqlite3.toml) \
1414 TORRUST_TRACKER_DATABASE=" e2e_testing_sqlite3" \
15- TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER =" Sqlite3" \
15+ TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER =" Sqlite3" \
1616 TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=" MyAccessToken" \
1717 docker compose up --detach --pull always --remove-orphans
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ USER_ID=${USER_ID:-1000} \
288288 TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN=" MyAccessToken" \
289289 TORRUST_TRACKER_CONFIG_TOML=$( cat ./share/default/config/tracker.e2e.container.sqlite3.toml) \
290290 TORRUST_TRACKER_DATABASE=" e2e_testing_sqlite3" \
291- TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER =" Sqlite3" \
291+ TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER =" Sqlite3" \
292292 TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=" MyAccessToken" \
293293 docker compose up --detach --pull always --remove-orphans
294294```
Original file line number Diff line number Diff line change 1+ [core ]
12mode = " private"
2- db_path = " /var/lib/torrust/tracker/database/e2e_testing_sqlite3.db"
3+
4+ [core .database ]
5+ path = " /var/lib/torrust/tracker/database/e2e_testing_sqlite3.db"
36
47[[udp_trackers ]]
5- enabled = false
8+ bind_address = " 0.0.0.0:6969 "
69
710[http_api ]
811bind_address = " 0.0.0.0:1212"
Original file line number Diff line number Diff line change 1- db_path = " /var/lib/torrust/tracker/database/e2e_testing_sqlite3.db"
1+ [core .database ]
2+ path = " /var/lib/torrust/tracker/database/e2e_testing_sqlite3.db"
23
34[http_api ]
45bind_address = " 0.0.0.0:1212"
You can’t perform that action at this time.
0 commit comments