Add default ENV for prod.

This commit is contained in:
Ari Timonen 2020-03-26 02:34:15 +02:00
parent a05b202fe2
commit 333de3854b

20
.env.production Normal file
View file

@ -0,0 +1,20 @@
# This file is actually loaded by Dotenv when RAILS_ENV=development
RACK_ENV=production
RAILS_ENV=production
DEPLOY_PATH=/var/www
# FIXME Disable workers + cluster mode for now.
PUMA_WORKERS=0
PUMA_MIN_THREADS=1
PUMA_MAX_THREADS=32
PUMA_PORT=4000
PUMA_TIMEOUT=30
MYSQL_HOST=db
MYSQL_DATABASE=ensl
MYSQL_USERNAME=ensl
MYSQL_CONNECTION_POOL=48
GOOGLE_CALENDAR=enabled