-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #21: Update tracker configuration
857ca4c fix: [#6] update tracker configuration (Jose Celano) Pull request description: There were some breaking changes in the tracker configuration. See: torrust/torrust-tracker#878 ACKs for top commit: josecelano: ACK 857ca4c Tree-SHA512: 46dd732fdbfd6bf465593da75ed0fe9f4029ee00021363aea84df5737a358653a3dd2dca7d09468eb3d5589cd16c50e4be4da8700c7427ec0c899105b84115f8
- Loading branch information
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" |