-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
56 lines (47 loc) · 1.78 KB
/
Copy pathconfig.yaml.example
File metadata and controls
56 lines (47 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Silmaril Configuration Example
# Place this file at ~/.config/silmaril/config.yaml
# Storage settings
storage:
# Base directory for all Silmaril data (default: ~/.silmaril)
base_dir: ~/.silmaril
# Subdirectories (leave empty to use defaults under base_dir)
# models_dir: ~/.silmaril/models
# torrents_dir: ~/.silmaril/torrents
# registry_dir: ~/.silmaril/registry
# db_dir: ~/.silmaril/db
# Network settings
network:
# DHT (Distributed Hash Table) settings
dht_enabled: true
dht_port: 0 # 0 = random port (recommended for multiple instances)
dht_bootstrap_nodes:
- router.bittorrent.com:6881
- dht.transmissionbt.com:6881
- router.utorrent.com:6881
# BitTorrent network settings
listen_port: 0 # 0 = random port
max_connections: 100
upload_rate_limit: 0 # bytes/sec, 0 = unlimited
download_rate_limit: 0 # bytes/sec, 0 = unlimited
# Peer discovery settings
disable_trackers: true # Disable centralized trackers (use DHT instead)
disable_webtorrent: true # Disable WebTorrent support
disable_pex: false # Enable Peer Exchange
# Catalog refresh interval in minutes
catalog_refresh_interval_minutes: 30
# Daemon settings
daemon:
bind_address: 0.0.0.0 # Bind address (0.0.0.0 for all interfaces, needed for Docker)
port: 8737 # REST API port
auto_start: true # Auto-start daemon when CLI needs it
# Torrent settings
torrent:
piece_length: 4194304 # 4MB pieces
seed_ratio: 0 # 0 = unlimited seeding
seed_time: 0 # seconds, 0 = unlimited
download_timeout: 0 # seconds, 0 = unlimited
# Security settings
security:
sign_manifests: true # Sign model manifests
verify_manifests: true # Verify manifest signatures
# keys_dir: ~/.silmaril/keys # Leave empty to use default