]>
Commit | Line | Data |
---|---|---|
1 | listen: | |
2 | hostname: '0.0.0.0' | |
3 | port: 9000 | |
4 | ||
5 | # Correspond to your reverse proxy "listen" configuration | |
6 | webserver: | |
7 | https: true | |
8 | hostname: undefined | |
9 | port: 443 | |
10 | ||
11 | rates_limit: | |
12 | login: | |
13 | # 15 attempts in 5 min | |
14 | window: 5 minutes | |
15 | max: 15 | |
16 | ask_send_email: | |
17 | # 3 attempts in 5 min | |
18 | window: 5 minutes | |
19 | max: 3 | |
20 | ||
21 | # Proxies to trust to get real client IP | |
22 | # If you run PeerTube just behind a local proxy (nginx), keep 'loopback' | |
23 | # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) | |
24 | trust_proxy: | |
25 | - 'loopback' | |
26 | - 'linklocal' | |
27 | - 'uniquelocal' | |
28 | ||
29 | # Your database name will be database.name or "peertube"+database.suffix | |
30 | database: | |
31 | hostname: 'postgres' | |
32 | port: 5432 | |
33 | suffix: '' | |
34 | username: 'postgres' | |
35 | password: 'postgres' | |
36 | ||
37 | # Redis server for short time storage | |
38 | redis: | |
39 | hostname: 'redis' | |
40 | port: 6379 | |
41 | auth: null | |
42 | ||
43 | # From the project root directory | |
44 | storage: | |
45 | tmp: '../data/tmp/' | |
46 | avatars: '../data/avatars/' | |
47 | videos: '../data/videos/' | |
48 | streaming_playlists: '../data/streaming-playlists' | |
49 | redundancy: '../data/redundancy/' | |
50 | logs: '../data/logs/' | |
51 | previews: '../data/previews/' | |
52 | thumbnails: '../data/thumbnails/' | |
53 | torrents: '../data/torrents/' | |
54 | captions: '../data/captions/' | |
55 | cache: '../data/cache/' | |
56 | plugins: '../data/plugins/' | |
57 | ||
58 | log: | |
59 | level: 'info' # debug/info/warning/error | |
60 | ||
61 | tracker: | |
62 | enabled: true | |
63 | reject_too_many_announces: false # false because we have issues with traefik and ws ip/port forwarding | |
64 | ||
65 | admin: | |
66 | email: null |