-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
27 lines (25 loc) · 1008 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Attention:
# Use this docker-compose to:
# - Up development environment: docker-compose up
# - Build docker images: docker-compose build
version: '3.6'
services:
bothub-nlp-api:
image: ${BOTHUB_NLP_API_DOCKER_IMAGE_NAME:-ilha/bothub-nlp-api}:${BOTHUB_NLP_API_DOCKER_IMAGE_TAG:-latest}
build:
context: .
dockerfile: Dockerfile
ports:
- 2657:2657
networks:
- default
environment:
- SUPPORTED_LANGUAGES=${SUPPORTED_LANGUAGES:-en|pt}
# bothub-nlp env vars
- BOTHUB_NLP_SENTRY_CLIENT=${BOTHUB_NLP_SENTRY_CLIENT}
# bothub-nlp-celery env vars
- BOTHUB_NLP_CELERY_BROKER_URL=${BOTHUB_NLP_CELERY_BROKER_URL:-redis://bothub-nlp-celery-redis:6379/0}
- BOTHUB_NLP_CELERY_BACKEND_URL=${BOTHUB_NLP_CELERY_BACKEND_URL:-redis://bothub-nlp-celery-redis:6379/0}
- BOTHUB_NLP_NLU_AGROUP_LANGUAGE_QUEUE=${BOTHUB_NLP_NLU_AGROUP_LANGUAGE_QUEUE:-True}
# env vars
- BOTHUB_ENGINE_URL=${BOTHUB_ENGINE_URL:-https://api.bothub.it}