diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 7 | ||||
-rw-r--r-- | config/production.yaml.example | 5 | ||||
-rw-r--r-- | config/test.yaml | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml index 5fdb41250..e16b8c352 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -102,7 +102,12 @@ cache: | |||
102 | size: 500 # Max number of video captions/subtitles you want to cache | 102 | size: 500 # Max number of video captions/subtitles you want to cache |
103 | 103 | ||
104 | admin: | 104 | admin: |
105 | email: 'admin@example.com' # Your personal email as administrator | 105 | # Used to generate the root user at first startup |
106 | # And to receive emails from the contact form | ||
107 | email: 'admin@example.com' | ||
108 | |||
109 | contact_form: | ||
110 | enabled: true | ||
106 | 111 | ||
107 | signup: | 112 | signup: |
108 | enabled: false | 113 | enabled: false |
diff --git a/config/production.yaml.example b/config/production.yaml.example index c0dbf64b6..661eac0d5 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -115,8 +115,13 @@ cache: | |||
115 | size: 500 # Max number of video captions/subtitles you want to cache | 115 | size: 500 # Max number of video captions/subtitles you want to cache |
116 | 116 | ||
117 | admin: | 117 | admin: |
118 | # Used to generate the root user at first startup | ||
119 | # And to receive emails from the contact form | ||
118 | email: 'admin@example.com' | 120 | email: 'admin@example.com' |
119 | 121 | ||
122 | contact_form: | ||
123 | enabled: true | ||
124 | |||
120 | signup: | 125 | signup: |
121 | enabled: false | 126 | enabled: false |
122 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 127 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
diff --git a/config/test.yaml b/config/test.yaml index 6e9c56e0a..aba5dd73c 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -21,6 +21,9 @@ smtp: | |||
21 | log: | 21 | log: |
22 | level: 'debug' | 22 | level: 'debug' |
23 | 23 | ||
24 | contact_form: | ||
25 | enabled: true | ||
26 | |||
24 | redundancy: | 27 | redundancy: |
25 | videos: | 28 | videos: |
26 | check_interval: '10 minutes' | 29 | check_interval: '10 minutes' |