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