Ana Server is required to publish chat flows and serve published content across differant channels including Web, Android, iOS and Facebook (and many more to come soon). Ana server is decomposed into microservices, organized around certain business domains.
Following are the required microservices to run Ana server
- service-registry
- config-server
- api-gateway
- ws-customers
- business-service
- user-service
- core
- history service (optional)
- fcm-plugin (optional)
- agents-service (optional)
- file-service (optional)
- analytics (optional)
System Requirements
- Ubuntu Machine (Will be windows desktop/server and mac compatible very soon)
- 8GB+ RAM
- 2+ CPU Cores
- 10 GB+ free disk space
Software Requirements
- Docker and docker compose installed.
- Download the docker-compose.yml file using the following command
wget https://gist.githubusercontent.com/menneni/70ea1a174961f653cd62c2ae3b22ec1b/raw/docker-compose.yml
- Pull and fire up the dockers using following commands
docker-compose pull docker-compose build docker-compose up -d
- http://localhost:80 - eureka dashboard/service-registry
- http://localhost:8080 - api-gateway
- http://localhost:8888 - config-server
- http://localhost:9500 - core
- http://localhost:8088 - ws-customers
- http://localhost:8087 - business-service
- http://localhost:8089 - user-service
Services running with spring boot requires already running service-registry and config-server for startup. docker-compose starts all microservices simultaniously but ensures dependencies using depends_on
and health check
option.
Health check for core service - http://localhost:9500/bot/health
Also service discovery mechanism needs some time after all applications startup. To ensure all required microservices for Ana server are up and running, check eureka dashboard (http://localhost:80), it should show all the required microservices instances in the eureka dashboard.