File tree 4 files changed +16
-15
lines changed
share/container/default/config
4 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1
- db_path = " /var/lib/torrust/tracker/database/torrust_tracker_demo.db" # SQLite
2
- # db_path = "mysql://root:root_secret_password@mysql:3306/torrust_tracker_demo" # MySQL
1
+ [core .database ]
2
+ path = " /var/lib/torrust/tracker/database/torrust_tracker_demo.db" # SQLite
3
+ # path = "mysql://root:root_secret_password@mysql:3306/torrust_tracker_demo" # MySQL
3
4
4
5
[[udp_trackers ]]
5
- enabled = true
6
+ bind_address = " 0.0.0.0:6969 "
6
7
7
8
[http_api ]
8
- enabled = true
9
9
bind_address = " 0.0.0.0:1212"
Original file line number Diff line number Diff line change 1
- db_path = " /var/lib/torrust/tracker/database/sqlite3.db"
1
+ [core .database ]
2
+ path = " /var/lib/torrust/tracker/database/sqlite3.db"
2
3
3
4
[[http_trackers ]]
5
+ bind_address = " 0.0.0.0:7070"
6
+
7
+ [http_trackers .tsl_config ]
4
8
ssl_cert_path = " /var/lib/torrust/tracker/tls/localhost.crt"
5
9
ssl_key_path = " /var/lib/torrust/tracker/tls/localhost.key"
6
10
7
- [http_api ]
11
+ [http_api . tsl_config ]
8
12
ssl_cert_path = " /var/lib/torrust/tracker/tls/localhost.crt"
9
13
ssl_key_path = " /var/lib/torrust/tracker/tls/localhost.key"
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ services:
99
99
environment :
100
100
- USER_ID=${USER_ID}
101
101
- TORRUST_TRACKER_DATABASE=${TORRUST_TRACKER_DATABASE:-sqlite3}
102
- - TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER =${TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER :-Sqlite3}
102
+ - TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER =${TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER :-Sqlite3}
103
103
- TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN=${TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN:-MyAccessToken}
104
104
networks :
105
105
- backend_network
Original file line number Diff line number Diff line change 1
- # Please override the admin token setting the
2
- # `TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN`
3
- # environmental variable!
4
-
5
- db_path = " /var/lib/torrust/tracker/database/sqlite3.db"
1
+ [core .database ]
2
+ path = " /var/lib/torrust/tracker/database/sqlite3.db"
6
3
7
4
[[udp_trackers ]]
8
- enabled = true
5
+ bind_address = " 0.0.0.0:6969 "
9
6
10
7
[[http_trackers ]]
11
- enabled = true
8
+ bind_address = " 0.0.0.0:7070 "
12
9
13
10
[http_api ]
14
- enabled = true
11
+ bind_address = " 0.0.0.0:1212 "
You can’t perform that action at this time.
0 commit comments