From: Chocobozzz Date: Tue, 29 May 2018 08:28:08 +0000 (+0200) Subject: Add help in conf file regarding SMTP X-Git-Tag: v1.0.0-beta.8~85 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6401417d6c17f827c94e44dd27c85c771442630b;p=oweals%2Fpeertube.git Add help in conf file regarding SMTP --- 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 @@ +# /!\ YOU SHOULD NOT UPDATE THIS FILE, USE production.yaml instead /!\ # + listen: hostname: '127.0.0.1' port: 9000 @@ -60,7 +62,7 @@ admin: signup: enabled: false limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited - filters: + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: [] 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: # SMTP server to send emails smtp: hostname: null - port: 465 + port: 465 # If you use StartTLS: 587 username: null password: null - tls: true + tls: true # If you use StartTLS: false disable_starttls: false ca_file: null # Used for self signed certificates from_address: 'admin@example.com' @@ -76,7 +76,7 @@ admin: signup: enabled: false limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited - filters: + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: [] 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: PEERTUBE_SIGNUP_ENABLED: "true" PEERTUBE_TRANSCODING_ENABLED: "true" PEERTUBE_REDIS_HOSTNAME: redis + PEERTUBE_SMTP_USERNAME: null + PEERTUBE_SMTP_PASSWORD: null PEERTUBE_SMTP_HOSTNAME: null PEERTUBE_SMTP_PORT: 25 PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld