]>
Commit | Line | Data |
---|---|---|
e8395f02 | 1 | listen: |
af111faf | 2 | hostname: '0.0.0.0' |
e8395f02 | 3 | port: 9000 |
4 | ||
97b6428a | 5 | # Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL) |
e8395f02 | 6 | webserver: |
7 | https: true | |
8 | hostname: undefined | |
9 | port: 443 | |
10 | ||
c342726a YB |
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 | ||
490b595a C |
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 | ||
97b6428a | 29 | # Your database name will be database.name OR 'peertube'+database.suffix |
e8395f02 | 30 | database: |
08c11bec | 31 | hostname: 'postgres' |
e8395f02 | 32 | port: 5432 |
b0ce7c39 | 33 | ssl: false |
e8395f02 | 34 | suffix: '' |
35 | username: 'postgres' | |
36 | password: 'postgres' | |
37 | ||
38 | # Redis server for short time storage | |
39 | redis: | |
40 | hostname: 'redis' | |
41 | port: 6379 | |
42 | auth: null | |
43 | ||
44 | # From the project root directory | |
45 | storage: | |
37ede348 | 46 | tmp: '../data/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... |
62549e6c | 47 | bin: '../data/bin/' |
e8395f02 | 48 | avatars: '../data/avatars/' |
e8395f02 | 49 | videos: '../data/videos/' |
4fd98756 | 50 | streaming_playlists: '../data/streaming-playlists' |
6040f87d | 51 | redundancy: '../data/redundancy/' |
e8395f02 | 52 | logs: '../data/logs/' |
53 | previews: '../data/previews/' | |
54 | thumbnails: '../data/thumbnails/' | |
55 | torrents: '../data/torrents/' | |
40e87e9e | 56 | captions: '../data/captions/' |
e8395f02 | 57 | cache: '../data/cache/' |
345da516 | 58 | plugins: '../data/plugins/' |
6c5f0d3a | 59 | well_known: '../data/well-known/' |
c80e458a | 60 | # Overridable client files in client/dist/assets/images : |
61 | # - logo.svg | |
62 | # - favicon.png | |
63 | # - default-playlist.jpg | |
64 | # - default-avatar-account.png | |
65 | # - default-avatar-video-channel.png | |
66 | # - and icons/*.png (PWA) | |
caf2aaf4 K |
67 | # Could contain for example assets/images/favicon.png |
68 | # If the file exists, peertube will serve it | |
69 | # If not, peertube will fallback to the default fil | |
70 | client_overrides: '../data/client-overrides/' | |
e8395f02 | 71 | |
72 | log: | |
31a91119 | 73 | level: 'info' # 'debug' | 'info' | 'warn' | 'error' |
e8395f02 | 74 | |
31b6ddf8 C |
75 | tracker: |
76 | enabled: true | |
18ffaf24 | 77 | reject_too_many_announces: false # false because we have issues with docker ws ip/port forwarding |
31b6ddf8 | 78 | |
e8395f02 | 79 | admin: |
95540ed2 | 80 | email: null |