ActivityPub-federated video streaming platform using P2P directly in your web browser
Expose SMTP and instance settings in the Docker environment variables (#277)
kaiyou6500a90cfead
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yamlindex 5226e1742c..9139125a54 100644--- a/support/docker/production/config/custom-environment-variables.yaml+++ b/support/docker/production/config/custom-environment-variables.yaml@@ -23,6 +23,18 @@ redis:__format: "json"auth: "PEERTUBE_REDIS_AUTH"+smtp:+ hostname: "PEERTUBE_SMTP_HOSTNAME"+ port:+ __name: "PEERTUBE_SMTP_PORT"+ __format: "json"+ username: "PEERTUBE_SMTP_USERNAME"+ password: "PEERTUBE_SMTP_PASSWORD"+ tls:+ __name: "PEERTUBE_SMTP_TLS"+ __format: "json"+ form_address: "PEERTUBE_ADMIN_EMAIL"+admin:email: "PEERTUBE_ADMIN_EMAIL"@@ -38,3 +50,8 @@ transcoding:enabled:__name: "PEERTUBE_TRANSCODING_ENABLED"__format: "json"++instance:+ name: "PEERTUBE_INSTANCE_NAME"+ description: "PEERTUBE_INSTANCE_DESCRIPTION"+ terms: "PEERTUBE_INSTANCE_TERMS"diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yamlindex 4666ea2edc..3cc72e573a 100644--- a/support/docker/production/config/production.yaml+++ b/support/docker/production/config/production.yaml@@ -21,6 +21,16 @@ redis:port: 6379auth: null+# SMTP server to send emails+smtp:+ hostname: null+ port: 465+ username: null+ password: null+ tls: true+ ca_file: null # Used for self signed certificates+ from_address: '[email protected]'+# From the project root directorystorage:avatars: '../data/avatars/'@@ -62,3 +72,9 @@ transcoding:480p: true720p: true1080p: true++# Instance settings+instance:+ name: 'PeerTube'+ description: '' # Support markdown+ terms: '' # Support markdown