Expose SMTP and instance settings in the Docker environment variables (#277)
This commit is contained in:
parent
3c75ce12d5
commit
6500a90cfe
2 changed files with 33 additions and 0 deletions
|
@ -23,6 +23,18 @@ redis:
|
||||||
__format: "json"
|
__format: "json"
|
||||||
auth: "PEERTUBE_REDIS_AUTH"
|
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:
|
admin:
|
||||||
email: "PEERTUBE_ADMIN_EMAIL"
|
email: "PEERTUBE_ADMIN_EMAIL"
|
||||||
|
|
||||||
|
@ -38,3 +50,8 @@ transcoding:
|
||||||
enabled:
|
enabled:
|
||||||
__name: "PEERTUBE_TRANSCODING_ENABLED"
|
__name: "PEERTUBE_TRANSCODING_ENABLED"
|
||||||
__format: "json"
|
__format: "json"
|
||||||
|
|
||||||
|
instance:
|
||||||
|
name: "PEERTUBE_INSTANCE_NAME"
|
||||||
|
description: "PEERTUBE_INSTANCE_DESCRIPTION"
|
||||||
|
terms: "PEERTUBE_INSTANCE_TERMS"
|
||||||
|
|
|
@ -21,6 +21,16 @@ redis:
|
||||||
port: 6379
|
port: 6379
|
||||||
auth: null
|
auth: 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: 'admin@example.com'
|
||||||
|
|
||||||
# From the project root directory
|
# From the project root directory
|
||||||
storage:
|
storage:
|
||||||
avatars: '../data/avatars/'
|
avatars: '../data/avatars/'
|
||||||
|
@ -62,3 +72,9 @@ transcoding:
|
||||||
480p: true
|
480p: true
|
||||||
720p: true
|
720p: true
|
||||||
1080p: true
|
1080p: true
|
||||||
|
|
||||||
|
# Instance settings
|
||||||
|
instance:
|
||||||
|
name: 'PeerTube'
|
||||||
|
description: '' # Support markdown
|
||||||
|
terms: '' # Support markdown
|
||||||
|
|
Loading…
Reference in a new issue