Skip to content

Instantly share code, notes, and snippets.

@jdkruzr
Last active April 11, 2017 21:09
Show Gist options
  • Save jdkruzr/b60fcd6d0efc735f1715e51d43c63e4e to your computer and use it in GitHub Desktop.
Save jdkruzr/b60fcd6d0efc735f1715e51d43c63e4e to your computer and use it in GitHub Desktop.
# Service dependencies
REDIS_HOST=redis <-- this should be the name of the redis server you stood up during deployment; it's probably "localhost"!
REDIS_PORT=6379
DB_HOST=db <-- same, but for the database server. it looks like many of your entries in your .env.production are still the default, this should be "localhost" too if you followed the directions
DB_USER= <-- same
DB_NAME= <-- same
DB_PASS= <-- same
DB_PORT=5432
# Federation
LOCAL_DOMAIN=stegodon.me <-- ok, good, you changed this!
LOCAL_HTTPS=true
# Application secrets
# Generate each with the `rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
PAPERCLIP_SECRET= <-- do as it says for each of these, the instructions are in the deployment instructions
SECRET_KEY_BASE=
OTP_SECRET=
# Registrations
# Single user mode will disable registrations and redirect frontpage to the first profile
# SINGLE_USER_MODE=true
# Prevent registrations with following e-mail domains
# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
# Only allow registrations with the following e-mail domains
# EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
# Optionally change default language
# DEFAULT_LOCALE=de
# E-mail configuration
# Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
SMTP_SERVER=localhost <-- you need to put a mail service here. e.g. smtp.gmail.com and then your login and password. (this may or may not work; which is why it suggests SparkPost)
SMTP_PORT=587
SMTP_LOGIN=
SMTP_PASSWORD=
[email protected]
# Optional asset host for multi-server setups
# CDN_HOST=assets.example.com
# S3 (optional)
# S3_ENABLED=true
# S3_BUCKET=
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# S3_REGION=
# S3_PROTOCOL=http
# S3_HOSTNAME=192.168.1.123:9000
# S3 (Minio Config (optional) Please check Minio instance for details)
# S3_ENABLED=true
# S3_BUCKET=
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# S3_REGION=
# S3_PROTOCOL=https
# S3_HOSTNAME=
# S3_ENDPOINT=
# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
# S3_CLOUDFRONT_HOST=
# Streaming API integration
# STREAMING_API_BASE_URL=
# Advanced settings
# If you need to use pgBouncer, you need to disable prepared statements:
# PREPARED_STATEMENTS=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment