ensl.org/.env.example

62 lines
1.2 KiB
Text
Raw Normal View History

2020-03-22 12:50:42 +00:00
# Read https://github.com/bkeepers/dotenv
2020-03-24 21:44:36 +00:00
# This is just a sample file
2020-03-22 12:50:42 +00:00
# Change this depending where you are
RACK_ENV=production
RAILS_ENV=production
2020-03-22 12:50:42 +00:00
# App secret for cookie encryption
APP_SECRET=randomstringhere
2020-04-02 00:08:19 +00:00
# Use
# SCrypt::Engine.calibrate!(max_mem: 16 * 1024 * 1024)
# SCrypt::Engine.generate_salt
SCRYPT_SALT_OPTS=
2020-04-02 00:15:28 +00:00
SCRYPT_MAX_TIME=1
2020-04-02 00:08:19 +00:00
2020-03-22 12:50:42 +00:00
# Since this is inside Docker container, it doesn't really matter
DEPLOY_PATH=/var/www
2020-03-28 20:06:22 +00:00
# Puma fails in cluster mode, so use 0 workers
PUMA_WORKERS=0
# Threads and port
PUMA_MIN_THREADS=1
PUMA_MAX_THREADS=16
PUMA_PORT=4000
2020-03-28 20:06:22 +00:00
# Use higher timeout if debug fails
PUMA_TIMEOUT=30
# Path to files
FILES_PATH=/var/www/files
# Docker adds mysql to hosts
2020-03-28 20:06:22 +00:00
MYSQL_HOST=db
# This is used by both rails + mysql
MYSQL_DATABASE=ensl
# Add to allow docker image to connect
MYSQL_ROOT_HOST=%
2020-03-22 12:50:42 +00:00
# Root MySQL password
MYSQL_ROOT_PASSWORD=ensl
2020-03-22 12:50:42 +00:00
# These are for ENSL, edit at least password
MYSQL_USERNAME=ensl
MYSQL_PASSWORD=ensl
# More MySQL vars
MYSQL_CONNECTION_POOL=32
SELENIUM_HOST=selenium
TEST_APP_HOST=localhost
TEST_APP_PORT=3005
NEW_RELIC_APP_NAME=ENSL
NEW_RELIC_LICENSE_KEY=
GOOGLE_API_KEY=
GOOGLE_CALENDAR_ID=
2020-03-25 23:33:23 +00:00
GOOGLE_CALENDAR=enabled