]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/docker/production/config/production.yaml
Bumped to version v5.2.1
[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 server_name/listen configuration (i.e., your public PeerTube instance URL)
6 webserver:
7 https: true
8 hostname: undefined
9 port: 443
10
11 rates_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
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)
24 trust_proxy:
25 - 'loopback'
26 - 'linklocal'
27 - 'uniquelocal'
28
29 # Your database name will be database.name OR 'peertube'+database.suffix
30 database:
31 hostname: 'postgres'
32 port: 5432
33 ssl: false
34 suffix: ''
35 username: 'postgres'
36 password: 'postgres'
37
38 # Redis server for short time storage
39 redis:
40 hostname: 'redis'
41 port: 6379
42 auth: null
43
44 # From the project root directory
45 storage:
46 tmp: '../data/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
47 tmp_persistent: '../data/tmp-persistent/' # As tmp but the directory is not cleaned up between PeerTube restarts
48 bin: '../data/bin/'
49 avatars: '../data/avatars/'
50 videos: '../data/videos/'
51 streaming_playlists: '../data/streaming-playlists'
52 redundancy: '../data/redundancy/'
53 logs: '../data/logs/'
54 previews: '../data/previews/'
55 thumbnails: '../data/thumbnails/'
56 torrents: '../data/torrents/'
57 captions: '../data/captions/'
58 cache: '../data/cache/'
59 plugins: '../data/plugins/'
60 well_known: '../data/well-known/'
61 # Overridable client files in client/dist/assets/images :
62 # - logo.svg
63 # - favicon.png
64 # - default-playlist.jpg
65 # - default-avatar-account.png
66 # - default-avatar-video-channel.png
67 # - and icons/*.png (PWA)
68 # Could contain for example assets/images/favicon.png
69 # If the file exists, peertube will serve it
70 # If not, peertube will fallback to the default fil
71 client_overrides: '../data/client-overrides/'
72
73 log:
74 level: 'info' # 'debug' | 'info' | 'warn' | 'error'
75
76 tracker:
77 enabled: true
78 reject_too_many_announces: false # false because we have issues with docker ws ip/port forwarding
79
80 admin:
81 email: null