diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-11 16:54:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | 32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf (patch) | |
tree | 1db53245688a6b7839cab00f9d65e6c1c1774b00 /config | |
parent | 3fbc6974334ca58c068f0f9def0b0a40db2a6de1 (diff) | |
download | PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.tar.gz PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.tar.zst PeerTube-32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf.zip |
Add new plugin/peertube version notifs
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 7 | ||||
-rw-r--r-- | config/production.yaml.example | 6 | ||||
-rw-r--r-- | config/test.yaml | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index a09d20b9d..d400e1067 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -198,6 +198,13 @@ federation: | |||
198 | # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes | 198 | # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes |
199 | cleanup_remote_interactions: false | 199 | cleanup_remote_interactions: false |
200 | 200 | ||
201 | peertube: | ||
202 | check_latest_version: | ||
203 | # Check and notify admins of new PeerTube versions | ||
204 | enabled: true | ||
205 | # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json | ||
206 | url: 'https://joinpeertube.org/api/v1/versions.json' | ||
207 | |||
201 | cache: | 208 | cache: |
202 | previews: | 209 | previews: |
203 | size: 500 # Max number of previews you want to cache | 210 | size: 500 # Max number of previews you want to cache |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 31c0e6b96..895931e7c 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -196,6 +196,12 @@ federation: | |||
196 | # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes | 196 | # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes |
197 | cleanup_remote_interactions: false | 197 | cleanup_remote_interactions: false |
198 | 198 | ||
199 | peertube: | ||
200 | check_latest_version: | ||
201 | # Check and notify admins of new PeerTube versions | ||
202 | enabled: true | ||
203 | # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json | ||
204 | url: 'https://joinpeertube.org/api/v1/versions.json' | ||
199 | 205 | ||
200 | ############################################################################### | 206 | ############################################################################### |
201 | # | 207 | # |
diff --git a/config/test.yaml b/config/test.yaml index 33c11afc3..4f0a7e5d9 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -38,6 +38,10 @@ log: | |||
38 | contact_form: | 38 | contact_form: |
39 | enabled: true | 39 | enabled: true |
40 | 40 | ||
41 | peertube: | ||
42 | check_latest_version: | ||
43 | enabled: false | ||
44 | |||
41 | redundancy: | 45 | redundancy: |
42 | videos: | 46 | videos: |
43 | check_interval: '1 minute' | 47 | check_interval: '1 minute' |