]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/production/config/production.yaml
Fix createdAt/updatedAt issues
[github/Chocobozzz/PeerTube.git] / support / docker / production / config / production.yaml
CommitLineData
e8395f02 1listen:
af111faf 2 hostname: '0.0.0.0'
e8395f02 3 port: 9000
4
5# Correspond to your reverse proxy "listen" configuration
6webserver:
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)
14trust_proxy:
15 - 'loopback'
16 - 'linklocal'
17 - 'uniquelocal'
18
e8395f02 19# Your database name will be "peertube"+database.suffix
20database:
08c11bec 21 hostname: 'postgres'
e8395f02 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:
6040f87d 35 tmp: '../data/tmp/'
e8395f02 36 avatars: '../data/avatars/'
e8395f02 37 videos: '../data/videos/'
6040f87d 38 redundancy: '../data/redundancy/'
e8395f02 39 logs: '../data/logs/'
40 previews: '../data/previews/'
41 thumbnails: '../data/thumbnails/'
42 torrents: '../data/torrents/'
40e87e9e 43 captions: '../data/captions/'
e8395f02 44 cache: '../data/cache/'
45
46log:
47 level: 'info' # debug/info/warning/error
48
31b6ddf8
C
49tracker:
50 enabled: true
51 reject_too_many_announces: false # false because we have issues with traefik and ws ip/port forwarding
52
e8395f02 53admin:
95540ed2 54 email: null