docker-compose.yml
876 Bytes
version: '3'
services:
app-server:
build: ./wildfly
container_name: chatbot-wildfly
image: bht-chatbot:latest
ports:
- "8080:8080"
- "8787:8787"
- "9990:9990"
volumes:
- ./wildfly/volumes/deployments/:/opt/jboss/wildfly/standalone/deployments/
- ./wildfly/volumes/logs/:/opt/jboss/wildfly/standalone/log/
- ./wildfly/volumes/conf/:/opt/jboss/wildfly/standalone/conf/
links:
- rasa-server
command: /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 --debug
rasa-server:
build: ./rasa_nlu
container_name: rasa_nlu
image: rasa_nlu:latest
ports:
- "5000:5000"
volumes:
- ./rasa_nlu/volumes/data/api/:/app/data/api
- ./rasa_nlu/volumes/logs/:/app/logs/
command: python -m rasa_nlu.server -c config/chatbot_config.json #--server_model_dirs=default