mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Update .env files
This commit is contained in:
parent
e2e5f209e1
commit
b59925a236
4 changed files with 16 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
||||||
RACK_ENV=development
|
RACK_ENV=development
|
||||||
RAILS_ENV=development
|
RAILS_ENV=development
|
||||||
|
|
||||||
APP_SECRET=fe837ea72667ec3d8ecb94cfba1a1bba
|
APP_SECRET=fe837ea72667ec3d8ecb94cfba1a1bba
|
||||||
|
|
||||||
DEPLOY_PATH=/var/www
|
DEPLOY_PATH=/var/www
|
||||||
|
@ -20,7 +21,5 @@ MYSQL_CONNECTION_POOL=8
|
||||||
NEW_RELIC_APP_NAME=ENSL
|
NEW_RELIC_APP_NAME=ENSL
|
||||||
NEW_RELIC_LICENSE_KEY=
|
NEW_RELIC_LICENSE_KEY=
|
||||||
|
|
||||||
EXCEPTIONAL_API_KEY=
|
|
||||||
|
|
||||||
GOOGLE_API_KEY=
|
GOOGLE_API_KEY=
|
||||||
GOOGLE_CALENDAR_ID=
|
GOOGLE_CALENDAR_ID=
|
||||||
|
|
21
.env.example
21
.env.example
|
@ -1,16 +1,23 @@
|
||||||
|
# Read https://github.com/bkeepers/dotenv
|
||||||
|
|
||||||
|
# Change this depending where you are
|
||||||
RACK_ENV=production
|
RACK_ENV=production
|
||||||
RAILS_ENV=production
|
RAILS_ENV=production
|
||||||
|
|
||||||
|
# App secret for cookie encryption
|
||||||
APP_SECRET=randomstringhere
|
APP_SECRET=randomstringhere
|
||||||
|
|
||||||
|
# Since this is inside Docker container, it doesn't really matter
|
||||||
DEPLOY_PATH=/var/www
|
DEPLOY_PATH=/var/www
|
||||||
|
|
||||||
|
# Puma settings
|
||||||
PUMA_WORKERS=5
|
PUMA_WORKERS=5
|
||||||
PUMA_MIN_THREADS=1
|
PUMA_MIN_THREADS=1
|
||||||
PUMA_MAX_THREADS=16
|
PUMA_MAX_THREADS=16
|
||||||
PUMA_PORT=4000
|
PUMA_PORT=4000
|
||||||
PUMA_TIMEOUT=30
|
PUMA_TIMEOUT=30
|
||||||
|
|
||||||
# Docker adds mysql to hosts
|
# Docker adds mysql name to /etc/hosts
|
||||||
MYSQL_HOST=mysql
|
MYSQL_HOST=mysql
|
||||||
|
|
||||||
# This is used by both rails + mysql
|
# This is used by both rails + mysql
|
||||||
|
@ -19,12 +26,12 @@ MYSQL_DATABASE=ensl
|
||||||
# Add to allow docker image to connect
|
# Add to allow docker image to connect
|
||||||
MYSQL_ROOT_HOST=%
|
MYSQL_ROOT_HOST=%
|
||||||
|
|
||||||
# FIXME: Use root since normal user does not work. atm.
|
# Root MySQL password
|
||||||
MYSQL_ROOT_PASSWORD=randomstringhere
|
MYSQL_ROOT_PASSWORD=ensl
|
||||||
|
|
||||||
# These variables are for ensl
|
# These are for ENSL, edit at least password
|
||||||
MYSQL_USERNAME=root
|
MYSQL_USERNAME=ensl
|
||||||
MYSQL_PASSWORD=randomstringhere
|
MYSQL_PASSWORD=ensl
|
||||||
|
|
||||||
# More MySQL vars
|
# More MySQL vars
|
||||||
MYSQL_CONNECTION_POOL=32
|
MYSQL_CONNECTION_POOL=32
|
||||||
|
@ -36,7 +43,5 @@ TEST_APP_PORT=3005
|
||||||
NEW_RELIC_APP_NAME=ENSL
|
NEW_RELIC_APP_NAME=ENSL
|
||||||
NEW_RELIC_LICENSE_KEY=
|
NEW_RELIC_LICENSE_KEY=
|
||||||
|
|
||||||
EXCEPTIONAL_API_KEY
|
|
||||||
|
|
||||||
GOOGLE_API_KEY=
|
GOOGLE_API_KEY=
|
||||||
GOOGLE_CALENDAR_ID=
|
GOOGLE_CALENDAR_ID=
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
RACK_ENV=test
|
RACK_ENV=test
|
||||||
RAILS_ENV=test
|
RAILS_ENV=test
|
||||||
|
|
||||||
APP_SECRET=fe837ea72667ec3d8ecb94cfba1a1bba
|
APP_SECRET=fe837ea72667ec3d8ecb94cfba1a1bba
|
||||||
|
|
||||||
DEPLOY_PATH=/var/www
|
DEPLOY_PATH=/var/www
|
||||||
|
@ -24,8 +25,6 @@ MYSQL_CONNECTION_POOL=8
|
||||||
NEW_RELIC_APP_NAME=ENSL
|
NEW_RELIC_APP_NAME=ENSL
|
||||||
NEW_RELIC_LICENSE_KEY=
|
NEW_RELIC_LICENSE_KEY=
|
||||||
|
|
||||||
EXCEPTIONAL_API_KEY=
|
|
||||||
|
|
||||||
# Fix poltergeist issue
|
# Fix poltergeist issue
|
||||||
CLIVER_NO_VERIFY=1
|
CLIVER_NO_VERIFY=1
|
||||||
OPENSSL_CONF=/etc/ssl/
|
OPENSSL_CONF=/etc/ssl/
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
||||||
.ruby-version
|
.ruby-version
|
||||||
.ruby-gemset
|
.ruby-gemset
|
||||||
.env
|
.env
|
||||||
|
.env*.local
|
||||||
.tmp*
|
.tmp*
|
||||||
.rspec
|
.rspec
|
||||||
.sass-cache
|
.sass-cache
|
||||||
|
|
Loading…
Reference in a new issue