2020-05-18 17:50:58 +02:00
|
|
|
# Database / Postgres service configuration
|
2020-02-24 15:30:14 +01:00
|
|
|
POSTGRES_USER=<MY POSTGRES USERNAME>
|
|
|
|
POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>
|
2020-05-18 17:50:58 +02:00
|
|
|
# Postgres database name "peertube"
|
|
|
|
POSTGRES_DB=peertube
|
2023-04-07 10:52:49 +02:00
|
|
|
# The database name used by PeerTube will be PEERTUBE_DB_NAME (only if set) *OR* 'peertube'+PEERTUBE_DB_SUFFIX
|
|
|
|
#PEERTUBE_DB_NAME=<MY POSTGRES DB NAME>
|
2020-05-18 17:50:58 +02:00
|
|
|
#PEERTUBE_DB_SUFFIX=_prod
|
2023-04-07 10:52:49 +02:00
|
|
|
# Database username and password used by PeerTube must match Postgres', so they are copied:
|
|
|
|
PEERTUBE_DB_USERNAME=$POSTGRES_USER
|
|
|
|
PEERTUBE_DB_PASSWORD=$POSTGRES_PASSWORD
|
2021-05-25 11:34:10 +02:00
|
|
|
PEERTUBE_DB_SSL=false
|
2020-05-18 17:50:58 +02:00
|
|
|
# Default to Postgres service name "postgres" in docker-compose.yml
|
2019-11-18 09:38:05 +01:00
|
|
|
PEERTUBE_DB_HOSTNAME=postgres
|
2020-05-18 17:50:58 +02:00
|
|
|
|
2022-08-11 10:43:31 +02:00
|
|
|
# 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
|
2020-02-24 15:30:14 +01:00
|
|
|
PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
|
2022-08-11 10:43:31 +02:00
|
|
|
# If you just want to test PeerTube on local
|
|
|
|
#PEERTUBE_WEBSERVER_PORT=9000
|
2020-05-18 17:50:58 +02:00
|
|
|
#PEERTUBE_WEBSERVER_HTTPS=false
|
2018-10-22 19:11:01 +02:00
|
|
|
# If you need more than one IP as trust_proxy
|
|
|
|
# pass them as a comma separated array:
|
2019-05-21 12:25:00 +02:00
|
|
|
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
|
2020-05-18 17:50:58 +02:00
|
|
|
|
2022-10-10 11:19:45 +02:00
|
|
|
# Generate one using `openssl rand -hex 32`
|
|
|
|
PEERTUBE_SECRET=<MY PEERTUBE SECRET>
|
|
|
|
|
2020-05-18 17:50:58 +02:00
|
|
|
# E-mail configuration
|
|
|
|
# If you use a Custom SMTP server
|
2019-03-08 15:38:22 +01:00
|
|
|
#PEERTUBE_SMTP_USERNAME=
|
|
|
|
#PEERTUBE_SMTP_PASSWORD=
|
2020-05-18 17:50:58 +02:00
|
|
|
# Default to Postfix service name "postfix" in docker-compose.yml
|
|
|
|
# May be the hostname of your Custom SMTP server
|
2018-11-21 15:35:26 +01:00
|
|
|
PEERTUBE_SMTP_HOSTNAME=postfix
|
2018-06-02 08:36:49 +02:00
|
|
|
PEERTUBE_SMTP_PORT=25
|
2020-02-24 15:30:14 +01:00
|
|
|
PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
|
2019-03-08 15:38:22 +01:00
|
|
|
PEERTUBE_SMTP_TLS=false
|
2018-06-27 08:54:24 +02:00
|
|
|
PEERTUBE_SMTP_DISABLE_STARTTLS=false
|
2020-02-24 15:30:14 +01:00
|
|
|
PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
|
2020-05-18 17:50:58 +02:00
|
|
|
|
|
|
|
# Postfix service configuration
|
2020-02-24 15:30:14 +01:00
|
|
|
POSTFIX_myhostname=<MY DOMAIN>
|
2020-03-10 15:14:19 +01:00
|
|
|
# If you need to generate a list of sub/DOMAIN keys
|
|
|
|
# pass them as a whitespace separated string <DOMAIN>=<selector>
|
|
|
|
OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
|
2020-06-12 13:55:40 +02:00
|
|
|
# see https://github.com/wader/postfix-relay/pull/18
|
|
|
|
OPENDKIM_RequireSafeKeys=no
|
2020-05-18 17:50:58 +02:00
|
|
|
|
2023-09-01 11:41:38 +02:00
|
|
|
PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PUBLIC="public-read"
|
|
|
|
PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PRIVATE="private"
|
|
|
|
|
2023-11-06 08:59:38 +01:00
|
|
|
#PEERTUBE_LOG_LEVEL=info
|
|
|
|
|
2018-06-04 14:45:58 +02:00
|
|
|
# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
|
2018-06-05 14:04:51 +02:00
|
|
|
#PEERTUBE_SIGNUP_ENABLED=true
|
|
|
|
#PEERTUBE_TRANSCODING_ENABLED=true
|
2019-01-09 15:14:29 +01:00
|
|
|
#PEERTUBE_CONTACT_FORM_ENABLED=true
|