aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/dev.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-06 15:44:14 +0200
committerChocobozzz <me@florianbigard.com>2022-07-06 16:12:17 +0200
commit9452d4fd3321148fb80b64a67bd9983fee6c208e (patch)
tree62ad9be8d3f4bfcf63196274ad4b736372c05f2c /config/dev.yaml
parent630d0a1bf5897fff203cb07e426223f55dcc882d (diff)
downloadPeerTube-9452d4fd3321148fb80b64a67bd9983fee6c208e.tar.gz
PeerTube-9452d4fd3321148fb80b64a67bd9983fee6c208e.tar.zst
PeerTube-9452d4fd3321148fb80b64a67bd9983fee6c208e.zip
/!\ Use a dedicated config file for development
It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it npm run dev:* commands are already updated
Diffstat (limited to 'config/dev.yaml')
-rw-r--r--config/dev.yaml105
1 files changed, 105 insertions, 0 deletions
diff --git a/config/dev.yaml b/config/dev.yaml
new file mode 100644
index 000000000..15e239b29
--- /dev/null
+++ b/config/dev.yaml
@@ -0,0 +1,105 @@
1listen:
2 hostname: '::'
3 port: 9000
4
5webserver:
6 https: false
7
8database:
9 hostname: 'localhost'
10 port: 5432
11
12redis:
13 hostname: 'localhost'
14
15smtp:
16 hostname: null
17 port: 1025
18 tls: false
19 disable_starttls: true
20 from_address: 'test-admin@localhost'
21 username: null
22 password: null
23
24log:
25 level: 'debug'
26
27contact_form:
28 enabled: true
29
30peertube:
31 check_latest_version:
32 enabled: false
33
34redundancy:
35 videos:
36 check_interval: '5 minutes'
37 strategies:
38 -
39 size: '1000MB'
40 min_lifetime: '10 minutes'
41 strategy: 'most-views'
42 -
43 size: '1000MB'
44 min_lifetime: '10 minutes'
45 strategy: 'trending'
46 -
47 size: '1000MB'
48 min_lifetime: '10 minutes'
49 strategy: 'recently-added'
50 min_views: 1
51
52cache:
53 previews:
54 size: 10
55 captions:
56 size: 10
57 torrents:
58 size: 10
59
60signup:
61 enabled: true
62 requires_email_verification: false
63
64live:
65 enabled: true
66
67 allow_replay: true
68
69 transcoding:
70 enabled: true
71 threads: 2
72
73 resolutions:
74 360p: true
75 720p: true
76
77import:
78 videos:
79 concurrency: 2
80 http:
81 enabled: true
82 torrent:
83 enabled: true
84
85instance:
86 default_nsfw_policy: 'display'
87
88plugins:
89 index:
90 check_latest_versions_interval: '10 minutes'
91
92federation:
93 videos:
94 cleanup_remote_interactions: false
95
96views:
97 videos:
98 remote:
99 max_age: -1
100
101geo_ip:
102 enabled: true
103
104video_studio:
105 enabled: true