diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-06 15:44:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-06 16:12:17 +0200 |
commit | 9452d4fd3321148fb80b64a67bd9983fee6c208e (patch) | |
tree | 62ad9be8d3f4bfcf63196274ad4b736372c05f2c /config/dev.yaml | |
parent | 630d0a1bf5897fff203cb07e426223f55dcc882d (diff) | |
download | PeerTube-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.yaml | 105 |
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 @@ | |||
1 | listen: | ||
2 | hostname: '::' | ||
3 | port: 9000 | ||
4 | |||
5 | webserver: | ||
6 | https: false | ||
7 | |||
8 | database: | ||
9 | hostname: 'localhost' | ||
10 | port: 5432 | ||
11 | |||
12 | redis: | ||
13 | hostname: 'localhost' | ||
14 | |||
15 | smtp: | ||
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 | |||
24 | log: | ||
25 | level: 'debug' | ||
26 | |||
27 | contact_form: | ||
28 | enabled: true | ||
29 | |||
30 | peertube: | ||
31 | check_latest_version: | ||
32 | enabled: false | ||
33 | |||
34 | redundancy: | ||
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 | |||
52 | cache: | ||
53 | previews: | ||
54 | size: 10 | ||
55 | captions: | ||
56 | size: 10 | ||
57 | torrents: | ||
58 | size: 10 | ||
59 | |||
60 | signup: | ||
61 | enabled: true | ||
62 | requires_email_verification: false | ||
63 | |||
64 | live: | ||
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 | |||
77 | import: | ||
78 | videos: | ||
79 | concurrency: 2 | ||
80 | http: | ||
81 | enabled: true | ||
82 | torrent: | ||
83 | enabled: true | ||
84 | |||
85 | instance: | ||
86 | default_nsfw_policy: 'display' | ||
87 | |||
88 | plugins: | ||
89 | index: | ||
90 | check_latest_versions_interval: '10 minutes' | ||
91 | |||
92 | federation: | ||
93 | videos: | ||
94 | cleanup_remote_interactions: false | ||
95 | |||
96 | views: | ||
97 | videos: | ||
98 | remote: | ||
99 | max_age: -1 | ||
100 | |||
101 | geo_ip: | ||
102 | enabled: true | ||
103 | |||
104 | video_studio: | ||
105 | enabled: true | ||