Skip to content

Commit

Permalink
Update dockerfile with the new env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Jan 18, 2022
1 parent c031984 commit 7bd305a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bothub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@
}

USE_ELASTICSEARCH = env.bool(
"USE_ELASTICSEARCH", default=True
)
"USE_ELASTICSEARCH", default=True
)

ELASTICSEARCH_DSL_INDEX_SETTINGS = {
"number_of_shards": env.int("ELASTICSEARCH_NUMBER_OF_SHARDS", default=1),
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ services:
- ELASTICSEARCH_NUMBER_OF_REPLICAS=${ELASTICSEARCH_NUMBER_OF_REPLICAS:-0}
- ELASTICSEARCH_REPOSITORYNLPLOG_INDEX=${ELASTICSEARCH_REPOSITORYNLPLOG_INDEX:-ai_repositorynlplog}
- ELASTICSEARCH_REPOSITORYNLPLOG_INDEX=${ELASTICSEARCH_REPOSITORYQANLPLOG_INDEX:-ai_repositoryqanlplog}
- ELASTICSEARCH_REPOSITORYBASICEXAMPLE_INDEX=${ELASTICSEARCH_REPOSITORYBASICEXAMPLE_INDEX:-ai_repositorybasicexample}
- ELASTICSEARCH_SIGNAL_PROCESSOR=${ELASTICSEARCH_SIGNAL_PROCESSOR:-celery}
- USE_ELASTICSEARCH=${USE_ELASTICSEARCH:-true}

bothub-engine-celery-redis:
image: redis
Expand Down

0 comments on commit 7bd305a

Please sign in to comment.