Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tracker and Index configuration #8

Closed
josecelano opened this issue Jul 3, 2024 · 1 comment
Closed

Update Tracker and Index configuration #8

josecelano opened this issue Jul 3, 2024 · 1 comment
Assignees

Comments

@josecelano
Copy link
Member

josecelano commented Jul 3, 2024

Relates to:

More changes related to the configuration have been merged in the Tracker and Index repos.

We have to update the Tracker and Index configuration files in the demo.

Old config files

Tracker (storage/tracker/etc/tracker.toml)

[logging]
log_level = "info"

[core]
mode = "public"

[core.tracker_policy]
persistent_torrent_completed_stat = true

[core.announce_policy]
interval = 300
interval_min = 300

[core.net]
on_reverse_proxy = true

[core.database]
driver = "Sqlite3"
path = "/var/lib/torrust/tracker/database/sqlite3.db"

[[udp_trackers]]
bind_address = "0.0.0.0:6969"

[[http_trackers]]
bind_address = "0.0.0.0:7070"

[http_api]
bind_address = "0.0.0.0:1212"

Index (storage/index/etc/index.toml)

[tracker]
api_url = "http://tracker:1212"
url = "udp://tracker.torrust-demo.com:6969"

[database]
connect_url = "sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc"

[mail.smtp]
port = 1025
server = "mailcatcher"

New config files

Tracker (storage/tracker/etc/tracker.toml)

version = "2"

[logging]
threshold = "info"

[core]
listed = false
private = false

[core.tracker_policy]
persistent_torrent_completed_stat = true

[core.announce_policy]
interval = 300
interval_min = 300

[core.net]
on_reverse_proxy = true

[core.database]
driver = "Sqlite3"
path = "/var/lib/torrust/tracker/database/sqlite3.db"

[[udp_trackers]]
bind_address = "0.0.0.0:6969"

[[http_trackers]]
bind_address = "0.0.0.0:7070"

[http_api]
bind_address = "0.0.0.0:1212"

Index (storage/index/etc/index.toml)

version = "2"

[tracker]
api_url = "http://tracker:1212"
listed = false
private = false
url = "udp://tracker.torrust-demo.com:6969"

[database]
connect_url = "sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc"

[mail.smtp]
port = 1025
server = "mailcatcher"
@josecelano josecelano self-assigned this Jul 3, 2024
@josecelano
Copy link
Member Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant