]>
Commit | Line | Data |
---|---|---|
e8395f02 | 1 | listen: |
af111faf | 2 | hostname: '0.0.0.0' |
e8395f02 | 3 | port: 9000 |
4 | ||
5 | # Correspond to your reverse proxy "listen" configuration | |
6 | webserver: | |
7 | https: true | |
8 | hostname: undefined | |
9 | port: 443 | |
10 | ||
490b595a C |
11 | # Proxies to trust to get real client IP |
12 | # If you run PeerTube just behind a local proxy (nginx), keep 'loopback' | |
13 | # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) | |
14 | trust_proxy: | |
15 | - 'loopback' | |
16 | - 'linklocal' | |
17 | - 'uniquelocal' | |
18 | ||
e8395f02 | 19 | # Your database name will be "peertube"+database.suffix |
20 | database: | |
08c11bec | 21 | hostname: 'postgres' |
e8395f02 | 22 | port: 5432 |
23 | suffix: '' | |
24 | username: 'postgres' | |
25 | password: 'postgres' | |
26 | ||
27 | # Redis server for short time storage | |
28 | redis: | |
29 | hostname: 'redis' | |
30 | port: 6379 | |
31 | auth: null | |
32 | ||
33 | # From the project root directory | |
34 | storage: | |
35 | avatars: '../data/avatars/' | |
e8395f02 | 36 | videos: '../data/videos/' |
37 | logs: '../data/logs/' | |
38 | previews: '../data/previews/' | |
39 | thumbnails: '../data/thumbnails/' | |
40 | torrents: '../data/torrents/' | |
40e87e9e | 41 | captions: '../data/captions/' |
e8395f02 | 42 | cache: '../data/cache/' |
43 | ||
44 | log: | |
45 | level: 'info' # debug/info/warning/error | |
46 | ||
e8395f02 | 47 | admin: |
95540ed2 | 48 | email: null |