2020-03-22 12:50:42 +00:00
|
|
|
# Read https://github.com/bkeepers/dotenv
|
|
|
|
|
|
|
|
# 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-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-22 12:50:42 +00:00
|
|
|
# Puma settings
|
2018-04-15 12:51:22 +00:00
|
|
|
PUMA_WORKERS=5
|
2014-04-15 09:59:52 +00:00
|
|
|
PUMA_MIN_THREADS=1
|
|
|
|
PUMA_MAX_THREADS=16
|
|
|
|
PUMA_PORT=4000
|
|
|
|
PUMA_TIMEOUT=30
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-22 12:50:42 +00:00
|
|
|
# Docker adds mysql name to /etc/hosts
|
2018-04-15 12:51:22 +00:00
|
|
|
MYSQL_HOST=mysql
|
|
|
|
|
|
|
|
# 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=
|