Advertisement
Guest User

.env.production

a guest
Apr 8th, 2017
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. # Service dependencies
  2. REDIS_HOST=localhost
  3. REDIS_PORT=6379
  4. DB_HOST=/var/run/postgresql
  5. DB_USER=mastodon
  6. DB_NAME=mastodon_production
  7. DB_PASS=
  8. DB_PORT=5432
  9.  
  10. # Federation
  11. LOCAL_DOMAIN=mastodon.survival-machines.fr
  12. LOCAL_HTTPS=true
  13.  
  14. # Application secrets
  15. # Generate each with the `rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
  16. PAPERCLIP_SECRET=
  17. SECRET_KEY_BASE=
  18. OTP_SECRET=
  19.  
  20. # Registrations
  21. # Single user mode will disable registrations and redirect frontpage to the first profile
  22. # SINGLE_USER_MODE=true
  23. # Prevent registrations with following e-mail domains
  24. # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
  25. # Only allow registrations with the following e-mail domains
  26. # EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
  27.  
  28. # E-mail configuration
  29. SMTP_SERVER=localhost
  30. SMTP_PORT=25
  31. SMTP_LOGIN=mastodon
  32. SMTP_PASSWORD=*****************
  33. SMTP_FROM_ADDRESS=mastodon@smtp.survival-machines.fr
  34.  
  35. # Optional asset host for multi-server setups
  36. # CDN_HOST=assets.example.com
  37.  
  38. # S3 (optional)
  39. # S3_ENABLED=true
  40. # S3_BUCKET=
  41. # AWS_ACCESS_KEY_ID=
  42. # AWS_SECRET_ACCESS_KEY=
  43. # S3_REGION=
  44. # S3_PROTOCOL=http
  45. # S3_HOSTNAME=192.168.1.123:9000
  46.  
  47. # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
  48. # S3_CLOUDFRONT_HOST=
  49.  
  50. # Streaming API integration
  51. # STREAMING_API_BASE_URL=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement