The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

140 lines
4.9 KiB

  1. # Service dependencies
  2. # You may set REDIS_URL instead for more advanced options
  3. REDIS_HOST=$DATA_REDIS_HOST
  4. REDIS_PORT=6379
  5. # REDIS_DB=0
  6. # You may set DATABASE_URL instead for more advanced options
  7. DB_HOST=$DATA_DB_HOST
  8. DB_USER=$DATA_DB_USER
  9. DB_NAME=gonano
  10. DB_PASS=$DATA_DB_PASS
  11. DB_PORT=5432
  12. DATABASE_URL=postgresql://$DATA_DB_USER:$DATA_DB_PASS@$DATA_DB_HOST/gonano
  13. # Federation
  14. # Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects.
  15. # LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
  16. LOCAL_DOMAIN=${APP_NAME}.nanoapp.io
  17. LOCAL_HTTPS=false
  18. # Use this only if you need to run mastodon on a different domain than the one used for federation.
  19. # You can read more about this option on https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md
  20. # DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
  21. # WEB_DOMAIN=mastodon.example.com
  22. # Use this if you want to have several aliases handler@example1.com
  23. # handler@example2.com etc. for the same user. LOCAL_DOMAIN should not
  24. # be added. Comma separated values
  25. # ALTERNATE_DOMAINS=example1.com,example2.com
  26. # Application secrets
  27. # Generate each with the `rake secret` task (`nanobox run bundle exec rake secret`)
  28. PAPERCLIP_SECRET=$PAPERCLIP_SECRET
  29. SECRET_KEY_BASE=$SECRET_KEY_BASE
  30. OTP_SECRET=$OTP_SECRET
  31. # VAPID keys (used for push notifications)
  32. # You can generate the keys using the following command (first is the private key, second is the public one)
  33. # You should only generate this once per instance. If you later decide to change it, all push subscription will
  34. # be invalidated, requiring the users to access the website again to resubscribe.
  35. #
  36. # Generate with `rake mastodon:webpush:generate_vapid_key` task (`nanobox run bundle exec rake mastodon:webpush:generate_vapid_key`)
  37. #
  38. # For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html
  39. VAPID_PRIVATE_KEY=$VAPID_PRIVATE_KEY
  40. VAPID_PUBLIC_KEY=$VAPID_PUBLIC_KEY
  41. # Registrations
  42. # Single user mode will disable registrations and redirect frontpage to the first profile
  43. # SINGLE_USER_MODE=true
  44. # Prevent registrations with following e-mail domains
  45. # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
  46. # Only allow registrations with the following e-mail domains
  47. # EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
  48. # Optionally change default language
  49. # DEFAULT_LOCALE=de
  50. # E-mail configuration
  51. # Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
  52. # If you want to use an SMTP server without authentication (e.g local Postfix relay)
  53. # then set SMTP_AUTH_METHOD and SMTP_OPENSSL_VERIFY_MODE to 'none' and
  54. # *comment* SMTP_LOGIN and SMTP_PASSWORD (leaving them blank is not enough).
  55. SMTP_SERVER=$SMTP_SERVER
  56. SMTP_PORT=587
  57. SMTP_LOGIN=$SMTP_LOGIN
  58. SMTP_PASSWORD=$SMTP_PASSWORD
  59. SMTP_FROM_ADDRESS=notifications@${APP_NAME}.nanoapp.io
  60. #SMTP_DOMAIN= # defaults to LOCAL_DOMAIN
  61. #SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
  62. #SMTP_AUTH_METHOD=plain
  63. #SMTP_CA_FILE=/etc/ssl/certs/ca-certificates.crt
  64. #SMTP_OPENSSL_VERIFY_MODE=peer
  65. #SMTP_ENABLE_STARTTLS_AUTO=true
  66. #SMTP_TLS=true
  67. # 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.
  68. # PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
  69. # PAPERCLIP_ROOT_URL=/system
  70. # Optional asset host for multi-server setups
  71. # CDN_HOST=https://assets.example.com
  72. # S3 (optional)
  73. # S3_ENABLED=true
  74. # S3_BUCKET=
  75. # AWS_ACCESS_KEY_ID=
  76. # AWS_SECRET_ACCESS_KEY=
  77. # S3_REGION=
  78. # S3_PROTOCOL=http
  79. # S3_HOSTNAME=192.168.1.123:9000
  80. # S3 (Minio Config (optional) Please check Minio instance for details)
  81. # S3_ENABLED=true
  82. # S3_BUCKET=
  83. # AWS_ACCESS_KEY_ID=
  84. # AWS_SECRET_ACCESS_KEY=
  85. # S3_REGION=
  86. # S3_PROTOCOL=https
  87. # S3_HOSTNAME=
  88. # S3_ENDPOINT=
  89. # S3_SIGNATURE_VERSION=
  90. # Swift (optional)
  91. # SWIFT_ENABLED=true
  92. # SWIFT_USERNAME=
  93. # For Keystone V3, the value for SWIFT_TENANT should be the project name
  94. # SWIFT_TENANT=
  95. # SWIFT_PASSWORD=
  96. # Keystone V2 and V3 URLs are supported. Use a V3 URL if possible to avoid
  97. # issues with token rate-limiting during high load.
  98. # SWIFT_AUTH_URL=
  99. # SWIFT_CONTAINER=
  100. # SWIFT_OBJECT_URL=
  101. # SWIFT_REGION=
  102. # Defaults to 'default'
  103. # SWIFT_DOMAIN_NAME=
  104. # Defaults to 60 seconds. Set to 0 to disable
  105. # SWIFT_CACHE_TTL=
  106. # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
  107. # S3_CLOUDFRONT_HOST=
  108. # Streaming API integration
  109. # STREAMING_API_BASE_URL=
  110. # Advanced settings
  111. # If you need to use pgBouncer, you need to disable prepared statements:
  112. # PREPARED_STATEMENTS=false
  113. # Cluster number setting for streaming API server.
  114. # If you comment out following line, cluster number will be `numOfCpuCores - 1`.
  115. STREAMING_CLUSTER_NUM=1
  116. # Docker mastodon user
  117. # If you use Docker, you may want to assign UID/GID manually.
  118. # UID=1000
  119. # GID=1000