forked from torrust/torrust-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [torrust#6] update tracker configuration
There were some breaking changes in the tracker configuration. See: torrust/torrust-tracker#878
- Loading branch information
1 parent
750e6b9
commit 857ca4c
Showing
4 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
db_path = "/var/lib/torrust/tracker/database/torrust_tracker_demo.db" # SQLite | ||
#db_path = "mysql://root:root_secret_password@mysql:3306/torrust_tracker_demo" # MySQL | ||
[core.database] | ||
path = "/var/lib/torrust/tracker/database/torrust_tracker_demo.db" # SQLite | ||
#path = "mysql://root:root_secret_password@mysql:3306/torrust_tracker_demo" # MySQL | ||
|
||
[[udp_trackers]] | ||
enabled = true | ||
bind_address = "0.0.0.0:6969" | ||
|
||
[http_api] | ||
enabled = true | ||
bind_address = "0.0.0.0:1212" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
db_path = "/var/lib/torrust/tracker/database/sqlite3.db" | ||
[core.database] | ||
path = "/var/lib/torrust/tracker/database/sqlite3.db" | ||
|
||
[[http_trackers]] | ||
bind_address = "0.0.0.0:7070" | ||
|
||
[http_trackers.tsl_config] | ||
ssl_cert_path = "/var/lib/torrust/tracker/tls/localhost.crt" | ||
ssl_key_path = "/var/lib/torrust/tracker/tls/localhost.key" | ||
|
||
[http_api] | ||
[http_api.tsl_config] | ||
ssl_cert_path = "/var/lib/torrust/tracker/tls/localhost.crt" | ||
ssl_key_path = "/var/lib/torrust/tracker/tls/localhost.key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
droplet/share/container/default/config/tracker.prod.container.sqlite3.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# Please override the admin token setting the | ||
# `TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN` | ||
# environmental variable! | ||
|
||
db_path = "/var/lib/torrust/tracker/database/sqlite3.db" | ||
[core.database] | ||
path = "/var/lib/torrust/tracker/database/sqlite3.db" | ||
|
||
[[udp_trackers]] | ||
enabled = true | ||
bind_address = "0.0.0.0:6969" | ||
|
||
[[http_trackers]] | ||
enabled = true | ||
bind_address = "0.0.0.0:7070" | ||
|
||
[http_api] | ||
enabled = true | ||
bind_address = "0.0.0.0:1212" |