]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - support/docker/production/config/production.yaml
Merge branch 'release/v1.0.0' into develop
[github/Chocobozzz/PeerTube.git] / support / docker / production / config / production.yaml
... / ...
CommitLineData
1listen:
2 hostname: '0.0.0.0'
3 port: 9000
4
5# Correspond to your reverse proxy "listen" configuration
6webserver:
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)
14trust_proxy:
15 - 'loopback'
16 - 'linklocal'
17 - 'uniquelocal'
18
19# Your database name will be "peertube"+database.suffix
20database:
21 hostname: 'postgres'
22 port: 5432
23 suffix: ''
24 username: 'postgres'
25 password: 'postgres'
26
27# Redis server for short time storage
28redis:
29 hostname: 'redis'
30 port: 6379
31 auth: null
32
33# From the project root directory
34storage:
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 captions: '../data/captions/'
42 cache: '../data/cache/'
43
44log:
45 level: 'info' # debug/info/warning/error
46
47admin:
48 email: null