闭社主体 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.

43 lines
1012 B

  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. # Registrations
  17. # Single user mode will disable registrations and redirect frontpage to the first profile
  18. # SINGLE_USER_MODE=true
  19. # Prevent registrations with following e-mail domains
  20. # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
  21. # E-mail configuration
  22. SMTP_SERVER=smtp.mailgun.org
  23. SMTP_PORT=587
  24. SMTP_LOGIN=
  25. SMTP_PASSWORD=
  26. SMTP_FROM_ADDRESS=notifications@example.com
  27. # Optional asset host for multi-server setups
  28. # CDN_HOST=assets.example.com
  29. # S3 (optional)
  30. # S3_ENABLED=true
  31. # S3_BUCKET=
  32. # AWS_ACCESS_KEY_ID=
  33. # AWS_SECRET_ACCESS_KEY=
  34. # S3_REGION=
  35. # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
  36. # S3_CLOUDFRONT_HOST=