Move elasticsearch config into separate yml

This commit is contained in:
Nick Sellen 2023-07-14 13:23:15 +01:00
parent 754ab9411c
commit 2dc49d51e4
3 changed files with 17 additions and 4 deletions

View File

@ -60,8 +60,8 @@ REDIS_PORT=6379
# CACHE_REDIS_NAMESPACE=
# ElasticSearch
# include compose.elasticsearch.yml
# --------------------------------------
ES_ENABLED=true
ES_HOST=es
ES_PORT=9200
@ -118,6 +118,7 @@ DEFAULT_LOCALE=en
# PAPERCLIP_ROOT_URL=
# S3 and AWS
# include compose.s3.yml
# ----------
# S3_BUCKET=
# AWS_ACCESS_KEY_ID=

15
compose.elastisearch.yml Normal file
View File

@ -0,0 +1,15 @@
---
version: "3.8"
services:
app:
environment: &es-env
- ES_ENABLED=true
- ES_HOST
- ES_PORT
streaming:
environment: *es-env
sidekiq:
environment: *es-env

View File

@ -48,9 +48,6 @@ services:
- DEFAULT_LOCALE
- EMAIL_DOMAIN_ALLOWLIST
- EMAIL_DOMAIN_DENYLIST
- ES_ENABLED
- ES_HOST
- ES_PORT
- LDAP_BASE
- LDAP_BIND_DN
- LDAP_ENABLED