]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/docker/production/config/production.yaml
64fc9e82c6000f810a5795f12f67e55490b93b0c
[github/Chocobozzz/PeerTube.git] / support / docker / production / config / production.yaml
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 # 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
19 # Your database name will be "peertube"+database.suffix
20 database:
21 hostname: 'db'
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/'
36 videos: '../data/videos/'
37 logs: '../data/logs/'
38 previews: '../data/previews/'
39 thumbnails: '../data/thumbnails/'
40 torrents: '../data/torrents/'
41 cache: '../data/cache/'
42
43 log:
44 level: 'info' # debug/info/warning/error
45
46 admin:
47 email: null