ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.env 2.2 KiB

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