闭社主体 forked from https://github.com/tootsuite/mastodon
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.

78 lines
2.1 KiB

  1. # Service dependencies
  2. REDIS_HOST=redis
  3. REDIS_PORT=6379
  4. DB_HOST=db
  5. DB_USER=postgres
  6. DB_NAME=postgres
  7. DB_PASS=
  8. DB_PORT=5432
  9. # Federation
  10. LOCAL_DOMAIN=example.com
  11. LOCAL_HTTPS=true
  12. # Application secrets
  13. # Generate each with the `rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
  14. PAPERCLIP_SECRET=
  15. SECRET_KEY_BASE=
  16. OTP_SECRET=
  17. # Registrations
  18. # Single user mode will disable registrations and redirect frontpage to the first profile
  19. # SINGLE_USER_MODE=true
  20. # Prevent registrations with following e-mail domains
  21. # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
  22. # Only allow registrations with the following e-mail domains
  23. # EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
  24. # Optionally change default language
  25. # DEFAULT_LOCALE=de
  26. # E-mail configuration
  27. # Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
  28. SMTP_SERVER=smtp.mailgun.org
  29. SMTP_PORT=587
  30. SMTP_LOGIN=
  31. SMTP_PASSWORD=
  32. SMTP_FROM_ADDRESS=notifications@example.com
  33. #SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
  34. #SMTP_AUTH_METHOD=plain
  35. #SMTP_OPENSSL_VERIFY_MODE=peer
  36. #SMTP_ENABLE_STARTTLS_AUTO=true
  37. # Optional user upload path and URL (images, avatars). Default is :rails_root/public/system. If you set this variable, you are responsible for making your HTTP server (eg. nginx) serve these files.
  38. # PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
  39. # PAPERCLIP_ROOT_URL=/system
  40. # Optional asset host for multi-server setups
  41. # CDN_HOST=assets.example.com
  42. # S3 (optional)
  43. # S3_ENABLED=true
  44. # S3_BUCKET=
  45. # AWS_ACCESS_KEY_ID=
  46. # AWS_SECRET_ACCESS_KEY=
  47. # S3_REGION=
  48. # S3_PROTOCOL=http
  49. # S3_HOSTNAME=192.168.1.123:9000
  50. # S3 (Minio Config (optional) Please check Minio instance for details)
  51. # S3_ENABLED=true
  52. # S3_BUCKET=
  53. # AWS_ACCESS_KEY_ID=
  54. # AWS_SECRET_ACCESS_KEY=
  55. # S3_REGION=
  56. # S3_PROTOCOL=https
  57. # S3_HOSTNAME=
  58. # S3_ENDPOINT=
  59. # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
  60. # S3_CLOUDFRONT_HOST=
  61. # Streaming API integration
  62. # STREAMING_API_BASE_URL=
  63. # Advanced settings
  64. # If you need to use pgBouncer, you need to disable prepared statements:
  65. # PREPARED_STATEMENTS=false