.env 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Database / Postgres service configuration
  2. POSTGRES_USER=<MY POSTGRES USERNAME>
  3. POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>
  4. # Postgres database name "peertube"
  5. POSTGRES_DB=peertube
  6. # Editable only with a suffix :
  7. #POSTGRES_DB=peertube_prod
  8. #PEERTUBE_DB_SUFFIX=_prod
  9. PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
  10. PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
  11. PEERTUBE_DB_SSL=false
  12. # Default to Postgres service name "postgres" in docker-compose.yml
  13. PEERTUBE_DB_HOSTNAME=postgres
  14. # PeerTube server configuration
  15. # If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1
  16. PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
  17. # If you just want to test PeerTube on local
  18. #PEERTUBE_WEBSERVER_PORT=9000
  19. #PEERTUBE_WEBSERVER_HTTPS=false
  20. # If you need more than one IP as trust_proxy
  21. # pass them as a comma separated array:
  22. PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
  23. # Generate one using `openssl rand -hex 32`
  24. PEERTUBE_SECRET=<MY PEERTUBE SECRET>
  25. # E-mail configuration
  26. # If you use a Custom SMTP server
  27. #PEERTUBE_SMTP_USERNAME=
  28. #PEERTUBE_SMTP_PASSWORD=
  29. # Default to Postfix service name "postfix" in docker-compose.yml
  30. # May be the hostname of your Custom SMTP server
  31. PEERTUBE_SMTP_HOSTNAME=postfix
  32. PEERTUBE_SMTP_PORT=25
  33. PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
  34. PEERTUBE_SMTP_TLS=false
  35. PEERTUBE_SMTP_DISABLE_STARTTLS=false
  36. PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
  37. # Postfix service configuration
  38. POSTFIX_myhostname=<MY DOMAIN>
  39. # If you need to generate a list of sub/DOMAIN keys
  40. # pass them as a whitespace separated string <DOMAIN>=<selector>
  41. OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
  42. # see https://github.com/wader/postfix-relay/pull/18
  43. OPENDKIM_RequireSafeKeys=no
  44. # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
  45. #PEERTUBE_SIGNUP_ENABLED=true
  46. #PEERTUBE_TRANSCODING_ENABLED=true
  47. #PEERTUBE_CONTACT_FORM_ENABLED=true