|
1 |
| -log_level = "info" |
2 |
| - |
3 |
| -[website] |
4 |
| -name = "Torrust" |
5 |
| - |
6 |
| -# Please override the tracker token setting the |
7 |
| -# `TORRUST_INDEX_TRACKER_API_TOKEN` |
8 |
| -# environmental variable! |
| 1 | +# Please override the tracker token: |
| 2 | +# `TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN` |
| 3 | +# And the auth screte key: |
| 4 | +# `TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY` |
| 5 | +# environmental variables! |
9 | 6 |
|
10 | 7 | [tracker]
|
11 | 8 | url = "udp://tracker.torrust-demo.com:6969"
|
12 |
| -mode = "Public" |
13 | 9 | api_url = "http://tracker:1212"
|
14 |
| -token = "MyAccessToken" |
15 |
| -token_valid_seconds = 7257600 |
16 |
| - |
17 |
| -[net] |
18 |
| -port = 3001 |
19 |
| - |
20 |
| -[auth] |
21 |
| -email_on_signup = "Optional" |
22 |
| -min_password_length = 6 |
23 |
| -max_password_length = 64 |
24 |
| -secret_key = "MaxVerstappenWC2021" |
25 | 10 |
|
26 | 11 | [database]
|
27 | 12 | connect_url = "sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc"
|
28 | 13 |
|
29 | 14 | [mail]
|
30 |
| -email_verification_enabled = false |
31 |
| -from = "example@email.com" |
32 |
| -reply_to = "noreply@email.com" |
33 |
| -username = "" |
34 |
| -password = "" |
35 | 15 | server = "mailcatcher"
|
36 | 16 | port = 1025
|
37 |
| - |
38 |
| -[image_cache] |
39 |
| -max_request_timeout_ms = 1000 |
40 |
| -capacity = 128000000 |
41 |
| -entry_size_limit = 4000000 |
42 |
| -user_quota_period_seconds = 3600 |
43 |
| -user_quota_bytes = 64000000 |
44 |
| - |
45 |
| -[api] |
46 |
| -default_torrent_page_size = 10 |
47 |
| -max_torrent_page_size = 30 |
48 |
| - |
49 |
| -[tracker_statistics_importer] |
50 |
| -torrent_info_update_interval = 3600 |
51 |
| -port = 3002 |
0 commit comments