[Nanobox] Enable ElasticSearch support by default (#6977)

Admins can still disable the feature by adding `ES_ENABLED=false` to their environment, if they prefer not to use it. Be sure to set the variable before you deploy!
This commit is contained in:
Daniel Hunsaker 2018-03-31 05:17:25 -06:00 committed by Eugen Rochko
parent fb3dc00dda
commit 3886bfb5eb
2 changed files with 34 additions and 3 deletions

View file

@ -14,9 +14,9 @@ DB_PORT=5432
DATABASE_URL=postgresql://$DATA_DB_USER:$DATA_DB_PASS@$DATA_DB_HOST/gonano
# Optional ElasticSearch configuration
# ES_ENABLED=true
# ES_HOST=localhost
# ES_PORT=9200
ES_ENABLED=true
ES_HOST=$DATA_ELASTIC_HOST
ES_PORT=9200
# Optimizations
LD_PRELOAD=/data/lib/libjemalloc.so