]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/docker/production/config/production.yaml
Add tmp and redundancy directories
[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: 'postgres'
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 tmp: '../data/tmp/'
36 avatars: '../data/avatars/'
37 videos: '../data/videos/'
38 redundancy: '../data/redundancy/'
39 logs: '../data/logs/'
40 previews: '../data/previews/'
41 thumbnails: '../data/thumbnails/'
42 torrents: '../data/torrents/'
43 captions: '../data/captions/'
44 cache: '../data/cache/'
45
46 log:
47 level: 'info' # debug/info/warning/error
48
49 admin:
50 email: null