]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/production/config/production.yaml
Merge branch 'release/v1.3.0' into develop
[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
c342726a
YB
11rates_limit:
12 login:
13 # 15 attempts in 5 min
14 window: 5 minutes
15 max: 15
16 ask_send_email:
17 # 3 attempts in 5 min
18 window: 5 minutes
19 max: 3
20
490b595a
C
21# Proxies to trust to get real client IP
22# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
23# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
24trust_proxy:
25 - 'loopback'
26 - 'linklocal'
27 - 'uniquelocal'
28
e8395f02 29# Your database name will be "peertube"+database.suffix
30database:
08c11bec 31 hostname: 'postgres'
e8395f02 32 port: 5432
33 suffix: ''
34 username: 'postgres'
35 password: 'postgres'
36
37# Redis server for short time storage
38redis:
39 hostname: 'redis'
40 port: 6379
41 auth: null
42
43# From the project root directory
44storage:
6040f87d 45 tmp: '../data/tmp/'
e8395f02 46 avatars: '../data/avatars/'
e8395f02 47 videos: '../data/videos/'
6040f87d 48 redundancy: '../data/redundancy/'
e8395f02 49 logs: '../data/logs/'
50 previews: '../data/previews/'
51 thumbnails: '../data/thumbnails/'
52 torrents: '../data/torrents/'
40e87e9e 53 captions: '../data/captions/'
e8395f02 54 cache: '../data/cache/'
55
56log:
57 level: 'info' # debug/info/warning/error
58
31b6ddf8
C
59tracker:
60 enabled: true
61 reject_too_many_announces: false # false because we have issues with traefik and ws ip/port forwarding
62
e8395f02 63admin:
95540ed2 64 email: null