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
|
2018-04-15 12:51:22 +00:00
|
|
|
RACK_ENV=production
|
|
|
|
RAILS_ENV=production
|
2020-03-22 12:50:42 +00:00
|
|
|
|
|
|
|
# App secret for cookie encryption
|
2018-04-15 12:51:22 +00:00
|
|
|
APP_SECRET=randomstringhere
|
2014-03-23 00:56:13 +00:00
|
|
|
|
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
|
2018-04-15 12:51:22 +00:00
|
|
|
DEPLOY_PATH=/var/www
|
2014-04-01 23:07:21 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# Puma fails in cluster mode, so use 0 workers
|
|
|
|
PUMA_WORKERS=0
|
|
|
|
|
|
|
|
# Threads and port
|
2014-04-15 09:59:52 +00:00
|
|
|
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
|
2014-04-15 09:59:52 +00:00
|
|
|
PUMA_TIMEOUT=30
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-31 02:31:42 +00:00
|
|
|
# Path to files
|
|
|
|
FILES_PATH=/var/www/files
|
|
|
|
|
|
|
|
# Docker adds mysql to hosts
|
2020-03-28 20:06:22 +00:00
|
|
|
MYSQL_HOST=db
|
2018-04-15 12:51:22 +00:00
|
|
|
|
|
|
|
# This is used by both rails + mysql
|
2014-03-26 11:12:00 +00:00
|
|
|
MYSQL_DATABASE=ensl
|
2018-04-15 12:51:22 +00:00
|
|
|
|
|
|
|
# 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
|
2018-04-15 12:51:22 +00:00
|
|
|
|
2020-03-22 12:50:42 +00:00
|
|
|
# These are for ENSL, edit at least password
|
|
|
|
MYSQL_USERNAME=ensl
|
|
|
|
MYSQL_PASSWORD=ensl
|
2018-04-15 12:51:22 +00:00
|
|
|
|
|
|
|
# More MySQL vars
|
|
|
|
MYSQL_CONNECTION_POOL=32
|
2014-03-30 19:50:52 +00:00
|
|
|
|
2020-03-22 04:13:47 +00:00
|
|
|
SELENIUM_HOST=selenium
|
|
|
|
TEST_APP_HOST=localhost
|
|
|
|
TEST_APP_PORT=3005
|
|
|
|
|
2014-03-30 19:50:52 +00:00
|
|
|
NEW_RELIC_APP_NAME=ENSL
|
|
|
|
NEW_RELIC_LICENSE_KEY=
|
2014-03-30 22:32:11 +00:00
|
|
|
|
2014-04-01 23:07:21 +00:00
|
|
|
GOOGLE_API_KEY=
|
2014-03-30 22:32:11 +00:00
|
|
|
GOOGLE_CALENDAR_ID=
|
2020-03-25 23:33:23 +00:00
|
|
|
GOOGLE_CALENDAR=enabled
|