Sign inSign up

fiwoo/chatbot

By fiwoo

Updated over 8 years ago

This repository contains the chatbot microservice in the FIWOO platform

Image
0

2.3K

fiwoo/chatbot repository overview

chatbot

This repository contains the chatbot microservice in the FIWOO platform

Getting Started

Prerequisites
Developing
  • Run pip install flask requests wasp-eureka rivescript python-jose wordfilter to install dependences.

Build & Development

Run python chatController.py to start the microservice.

Run python register.py to register to Eureka

Deployment with Docker

In order to deploy this microservice using Docker, follow these steps:

  1. Download the docker image from Docker Hub

     `docker pull fiwoo/chatbot`
    
  2. Run the image. Take into account that the microservice is started on port 5002.

     `sudo docker run --name chatbot -p 5002:5002 -e "SECRET=<JWT SECRET>" -e "EUREKA_VHOST=<EUREKA_HOST>" -e "EUREKA_PORT=<EUREKA_PORT>" fiwoo/chatbot`
    

Tag summary

Content type

Image

Digest

Size

282.5 MB

Last updated

over 8 years ago

docker pull fiwoo/chatbot