]>
Commit | Line | Data |
---|---|---|
3458e8ba JG |
1 | # |
2 | # This file will be read by node-config | |
3 | # See https://github.com/node-config/node-config/wiki/Environment-Variables#custom-environment-variables | |
4 | # | |
5 | ||
e8395f02 | 6 | webserver: |
fd5e57bb | 7 | hostname: "PEERTUBE_WEBSERVER_HOSTNAME" |
e8395f02 | 8 | port: |
fd5e57bb | 9 | __name: "PEERTUBE_WEBSERVER_PORT" |
e8395f02 | 10 | __format: "json" |
11 | https: | |
fd5e57bb | 12 | __name: "PEERTUBE_WEBSERVER_HTTPS" |
e8395f02 | 13 | __format: "json" |
14 | ||
1ea868a9 C |
15 | secrets: |
16 | peertube: "PEERTUBE_SECRET" | |
17 | ||
eff7cdd7 L |
18 | trust_proxy: |
19 | __name: "PEERTUBE_TRUST_PROXY" | |
20 | __format: "json" | |
ff587059 | 21 | |
e8395f02 | 22 | database: |
23 | hostname: "PEERTUBE_DB_HOSTNAME" | |
24 | port: | |
25 | __name: "PEERTUBE_DB_PORT" | |
26 | __format: "json" | |
3458e8ba | 27 | name: "PEERTUBE_DB_NAME" |
e8395f02 | 28 | suffix: "PEERTUBE_DB_SUFFIX" |
29 | username: "PEERTUBE_DB_USERNAME" | |
30 | password: "PEERTUBE_DB_PASSWORD" | |
78c5e310 S |
31 | ssl: |
32 | __name: "PEERTUBE_DB_SSL" | |
33 | __format: "json" | |
e8395f02 | 34 | |
35 | redis: | |
36 | hostname: "PEERTUBE_REDIS_HOSTNAME" | |
37 | port: | |
38 | __name: "PEERTUBE_REDIS_PORT" | |
39 | __format: "json" | |
40 | auth: "PEERTUBE_REDIS_AUTH" | |
41 | ||
6500a90c | 42 | smtp: |
43 | hostname: "PEERTUBE_SMTP_HOSTNAME" | |
44 | port: | |
45 | __name: "PEERTUBE_SMTP_PORT" | |
46 | __format: "json" | |
47 | username: "PEERTUBE_SMTP_USERNAME" | |
48 | password: "PEERTUBE_SMTP_PASSWORD" | |
49 | tls: | |
50 | __name: "PEERTUBE_SMTP_TLS" | |
51 | __format: "json" | |
08806798 C |
52 | disable_starttls: |
53 | __name: "PEERTUBE_SMTP_DISABLE_STARTTLS" | |
54 | __format: "json" | |
ef48a0d5 | 55 | from_address: "PEERTUBE_SMTP_FROM" |
6500a90c | 56 | |
0305db28 JB |
57 | object_storage: |
58 | enabled: | |
59 | __name: "PEERTUBE_OBJECT_STORAGE_ENABLED" | |
60 | __format: "json" | |
61 | ||
62 | endpoint: "PEERTUBE_OBJECT_STORAGE_ENDPOINT" | |
63 | ||
64 | region: "PEERTUBE_OBJECT_STORAGE_REGION" | |
65 | ||
a3e5f7e7 C |
66 | upload_acl: |
67 | public: "PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PUBLIC" | |
68 | private: "PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PRIVATE" | |
69 | ||
70 | proxy: | |
71 | proxify_private_files: | |
72 | __name: "PEERTUBE_OBJECT_STORAGE_PROXY_PROXIFY_PRIVATE_FILES" | |
73 | __format: "json" | |
74 | ||
37cb07ea C |
75 | credentials: |
76 | access_key_id: "PEERTUBE_OBJECT_STORAGE_CREDENTIALS_ACCESS_KEY_ID" | |
77 | secret_access_key: 'PEERTUBE_OBJECT_STORAGE_CREDENTIALS_SECRET_ACCESS_KEY' | |
78 | ||
0305db28 JB |
79 | max_upload_part: |
80 | __name: "PEERTUBE_OBJECT_STORAGE_MAX_UPLOAD_PART" | |
81 | __format: "json" | |
82 | ||
83 | streaming_playlists: | |
84 | bucket_name: "PEERTUBE_OBJECT_STORAGE_STREAMING_PLAYLISTS_BUCKET_NAME" | |
85 | prefix: "PEERTUBE_OBJECT_STORAGE_STREAMING_PLAYLISTS_PREFIX" | |
86 | base_url: "PEERTUBE_OBJECT_STORAGE_STREAMING_PLAYLISTS_BASE_URL" | |
f9915efa | 87 | upload_acl: "PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL" |
0305db28 JB |
88 | |
89 | videos: | |
90 | bucket_name: "PEERTUBE_OBJECT_STORAGE_VIDEOS_BUCKET_NAME" | |
91 | prefix: "PEERTUBE_OBJECT_STORAGE_VIDEOS_PREFIX" | |
92 | base_url: "PEERTUBE_OBJECT_STORAGE_VIDEOS_BASE_URL" | |
93 | ||
8d8a037e JB |
94 | webadmin: |
95 | configuration: | |
cf0c8ee5 C |
96 | edition: |
97 | allowed: | |
98 | __name: "PEERTUBE_WEBADMIN_CONFIGURATION_EDITION_ALLOWED" | |
8d8a037e JB |
99 | __format: "json" |
100 | ||
12c1e38d | 101 | log: |
383fea89 | 102 | level: "PEERTUBE_LOG_LEVEL" |
12c1e38d JF |
103 | log_ping_requests: |
104 | __name: "PEERTUBE_LOG_PING_REQUESTS" | |
105 | __format: "json" | |
106 | ||
6bd9f2f1 | 107 | user: |
108 | video_quota: | |
109 | __name: "PEERTUBE_USER_VIDEO_QUOTA" | |
110 | __format: "json" | |
111 | ||
e8395f02 | 112 | admin: |
113 | email: "PEERTUBE_ADMIN_EMAIL" | |
114 | ||
a4101923 C |
115 | contact_form: |
116 | enabled: | |
117 | __name: "PEERTUBE_CONTACT_FORM_ENABLED" | |
118 | __format: "json" | |
119 | ||
e8395f02 | 120 | signup: |
121 | enabled: | |
122 | __name: "PEERTUBE_SIGNUP_ENABLED" | |
123 | __format: "json" | |
124 | limit: | |
29202819 | 125 | __name: "PEERTUBE_SIGNUP_LIMIT" |
e8395f02 | 126 | __format: "json" |
127 | ||
302e7b19 | 128 | search: |
129 | remote_uri: | |
130 | users: | |
131 | __name: "PEERTUBE_SEARCH_REMOTEURI_USERS" | |
132 | __format: "json" | |
133 | anonymous: | |
134 | __name: "PEERTUBE_SEARCH_REMOTEURI_ANONYMOUS" | |
135 | __format: "json" | |
136 | ||
137 | import: | |
138 | videos: | |
139 | http: | |
140 | enabled: | |
141 | __name: "PEERTUBE_IMPORT_VIDEOS_HTTP" | |
142 | __format: "json" | |
143 | torrent: | |
144 | enabled: | |
145 | __name: "PEERTUBE_IMPORT_VIDEOS_TORRENT" | |
146 | __format: "json" | |
147 | ||
e8395f02 | 148 | transcoding: |
149 | enabled: | |
150 | __name: "PEERTUBE_TRANSCODING_ENABLED" | |
151 | __format: "json" | |
a4ac1c99 PJ |
152 | threads: |
153 | __name: "PEERTUBE_TRANSCODING_THREADS" | |
154 | __format: "json" | |
155 | resolutions: | |
8dd754c7 FC |
156 | 144p: |
157 | __name: "PEERTUBE_TRANSCODING_144P" | |
158 | __format: "json" | |
a4ac1c99 PJ |
159 | 240p: |
160 | __name: "PEERTUBE_TRANSCODING_240P" | |
161 | __format: "json" | |
162 | 360p: | |
163 | __name: "PEERTUBE_TRANSCODING_360P" | |
164 | __format: "json" | |
165 | 480p: | |
166 | __name: "PEERTUBE_TRANSCODING_480P" | |
167 | __format: "json" | |
168 | 720p: | |
169 | __name: "PEERTUBE_TRANSCODING_720P" | |
170 | __format: "json" | |
72698686 | 171 | 1080p: |
a4ac1c99 PJ |
172 | __name: "PEERTUBE_TRANSCODING_1080P" |
173 | __format: "json" | |
b7085c71 RK |
174 | 1440p: |
175 | __name: "PEERTUBE_TRANSCODING_1440P" | |
176 | __format: "json" | |
72698686 | 177 | 2160p: |
ad3405d0 C |
178 | __name: "PEERTUBE_TRANSCODING_2160P" |
179 | __format: "json" | |
5328532a AL |
180 | webtorrent: |
181 | enabled: | |
182 | __name: "PEERTUBE_TRANSCODING_WEBTORRENT_ENABLED" | |
183 | __format: "json" | |
72698686 BL |
184 | hls: |
185 | enabled: | |
186 | __name: "PEERTUBE_TRANSCODING_HLS_ENABLED" | |
187 | __format: "json" | |
6500a90c | 188 | |
189 | instance: | |
190 | name: "PEERTUBE_INSTANCE_NAME" | |
191 | description: "PEERTUBE_INSTANCE_DESCRIPTION" | |
192 | terms: "PEERTUBE_INSTANCE_TERMS" |