Rasa core and rasa nlu enviroment for local enviroment with moodbot example from official Rasa Stack documentation
git clone https://github.com/sasastarcevic/rasa-core-and-nlu-docker-compose.git
cd rasa-core-and-nlu-docker-compose
docker-compose build
Note: First time it can take 5-10 min!
docker-compose up -d
docker ps -as
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
40ba123eecdb rasacore_rasa_core "./entrypoint.sh s..." 9 seconds ago Up 8 seconds 0.0.0.0:5000->5000/tcp, 0.0.0.0:5005->5005/tcp rasacore_rasa_core_1 525 kB (virtual 2.7 GB)
docker exec -it 40ba123eecdb bash
cd examples/moodbot/
./run-rasa-core.sh
Using TensorFlow backend.
2018-04-18 21:13:33+0000 [-] Log opened.
2018-04-18 21:13:33+0000 [-] Site starting on 5005
2018-04-18 21:13:33+0000 [-] Starting factory <twisted.web.server.Site object at 0x7fcca0c0abe0>
curl 'http://localhost:5000/parse?q=hello'
Note: Official Rasa Nlu documentation
curl -XPOST localhost:5005/conversations/default/parse -d '{"query":"hello there"}'