aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example6
-rw-r--r--support/docker/production/docker-compose.yml2
3 files changed, 8 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index f43cbaf4b..b5ad0a8f2 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -1,3 +1,5 @@
1# /!\ YOU SHOULD NOT UPDATE THIS FILE, USE production.yaml instead /!\ #
2
1listen: 3listen:
2 hostname: '127.0.0.1' 4 hostname: '127.0.0.1'
3 port: 9000 5 port: 9000
@@ -60,7 +62,7 @@ admin:
60signup: 62signup:
61 enabled: false 63 enabled: false
62 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 64 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
63 filters: 65 filters:
64 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 66 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
65 whitelist: [] 67 whitelist: []
66 blacklist: [] 68 blacklist: []
diff --git a/config/production.yaml.example b/config/production.yaml.example
index a9d2c3b80..a11f0a1d6 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -32,10 +32,10 @@ redis:
32# SMTP server to send emails 32# SMTP server to send emails
33smtp: 33smtp:
34 hostname: null 34 hostname: null
35 port: 465 35 port: 465 # If you use StartTLS: 587
36 username: null 36 username: null
37 password: null 37 password: null
38 tls: true 38 tls: true # If you use StartTLS: false
39 disable_starttls: false 39 disable_starttls: false
40 ca_file: null # Used for self signed certificates 40 ca_file: null # Used for self signed certificates
41 from_address: 'admin@example.com' 41 from_address: 'admin@example.com'
@@ -76,7 +76,7 @@ admin:
76signup: 76signup:
77 enabled: false 77 enabled: false
78 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 78 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
79 filters: 79 filters:
80 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist 80 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
81 whitelist: [] 81 whitelist: []
82 blacklist: [] 82 blacklist: []
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml
index 5f8822ad3..32ee75113 100644
--- a/support/docker/production/docker-compose.yml
+++ b/support/docker/production/docker-compose.yml
@@ -32,6 +32,8 @@ services:
32 PEERTUBE_SIGNUP_ENABLED: "true" 32 PEERTUBE_SIGNUP_ENABLED: "true"
33 PEERTUBE_TRANSCODING_ENABLED: "true" 33 PEERTUBE_TRANSCODING_ENABLED: "true"
34 PEERTUBE_REDIS_HOSTNAME: redis 34 PEERTUBE_REDIS_HOSTNAME: redis
35 PEERTUBE_SMTP_USERNAME: null
36 PEERTUBE_SMTP_PASSWORD: null
35 PEERTUBE_SMTP_HOSTNAME: null 37 PEERTUBE_SMTP_HOSTNAME: null
36 PEERTUBE_SMTP_PORT: 25 38 PEERTUBE_SMTP_PORT: 25
37 PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld 39 PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld