50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
# Database / Postgres service configuration
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=
|
|
# Postgres database name "peertube"
|
|
POSTGRES_DB=peertube
|
|
# Database username and password used by PeerTube must match Postgres', so they are copied:
|
|
PEERTUBE_DB_USERNAME=postgres
|
|
PEERTUBE_DB_PASSWORD=$POSTGRES_PASSWORD
|
|
PEERTUBE_DB_SSL=false
|
|
# Default to Postgres service name "postgres" in docker-compose.yml
|
|
PEERTUBE_DB_HOSTNAME=peertube-postgres
|
|
|
|
PEERTUBE_REDIS_HOSTNAME=peertube-redis
|
|
|
|
# PeerTube server configuration
|
|
# If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1
|
|
PEERTUBE_WEBSERVER_HOSTNAME=peertube.REPLACEME
|
|
# If you just want to test PeerTube on local
|
|
PEERTUBE_WEBSERVER_PORT=443
|
|
PEERTUBE_WEBSERVER_HTTPS=true
|
|
# If you need more than one IP as trust_proxy
|
|
# pass them as a comma separated array:
|
|
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.1/32"]
|
|
|
|
# Generate one using `openssl rand -hex 32`
|
|
PEERTUBE_SECRET=
|
|
|
|
# E-mail configuration
|
|
# If you use a Custom SMTP server
|
|
PEERTUBE_SMTP_USERNAME=changeme
|
|
PEERTUBE_SMTP_PASSWORD=changeme
|
|
# Default to Postfix service name "postfix" in docker-compose.yml
|
|
# May be the hostname of your Custom SMTP server
|
|
PEERTUBE_SMTP_HOSTNAME=
|
|
PEERTUBE_SMTP_PORT=475
|
|
PEERTUBE_SMTP_FROM=
|
|
PEERTUBE_SMTP_TLS=true
|
|
PEERTUBE_SMTP_DISABLE_STARTTLS=true
|
|
PEERTUBE_ADMIN_EMAIL=changeme@example.com
|
|
|
|
PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PUBLIC="public-read"
|
|
PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PRIVATE="private"
|
|
|
|
#PEERTUBE_LOG_LEVEL=info
|
|
|
|
# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
|
|
#PEERTUBE_SIGNUP_ENABLED=true
|
|
#PEERTUBE_TRANSCODING_ENABLED=true
|
|
#PEERTUBE_CONTACT_FORM_ENABLED=true
|