NOTE: 🙏 Please change the passwords in the
.env
file
git clone https://github.com/mfekadu/nimbus \
&& cd nimbus \
&& ./ubuntu_setup.sh \
&& cp .env_sample .env \
&& ./deploy.sh
git clone https://github.com/mfekadu/nimbus \
&& cd nimbus \
&& ./gpu_setup.sh \
&& ./ubuntu_setup.sh \
&& cp .env_sample .env \
&& ./deploy.sh
click to expand
The following requirements are based on Rasa-X documentation
vCPUs (virtual CPUs on Google Cloud Platform or equivalent number of cores)
- Minimum: 2 vCPUs
- Recommended: 2-6 vCPUs
RAM
- Minimum: 4 GB RAM
- Recommended: 8 GB RAM
Disk Space
- Recommended: 100 GB disk space available
Open These Ports (if running on Google Cloud Platform)
- 22 (SSH)
- 80 (HTTP)
- 443 (HTTPS)
- 5002 (rasa-x)
- 5065 (rasa-production)
- 5075 (rasa-worker)
- 5055 (app) (aka rasa-actions service)
- 5432 (db) (postgres)
- 5672 (rabbit)
- 8000 (duckling)
- 6379 (redis)
- 9200 (elasticsearch-service)
- 9300 (elasticsearch-service)
- 9010 (nimbus-elastic-tf-embed-worker)
click to expand
Python 3.6.8
or newer
Docker 19.03.8
or newer
docker-compose 1.25.5
or newer
$ python3 --version
Python 3.6.8
$ docker -v
Docker version 19.03.8, build afacb8b
$ docker-compose -v
docker-compose version 1.25.5, build 8a1c60f6
It works with Windows / macOS / Linux (Ubuntu preferred)..
Carl Boettiger suggests that Docker "could have promising implications for reproducible research in scientific communities" despite challenges like adoption by the scientific community. (arxiv).
NOTE: The previous step may have included the
docker-compose
binary depending on your operating system.
click to expand
git clone https://github.com/mfekadu/nimbus
The .env
file is read by docker-compose (from current working directory) to string-replace the variables in the docker-compose.yml
file.
TODOs:
- make actions image a variable and put in
.env_sample
The following command will download/cache/install/build -- do everything to set up the infrastructure and run the program.
Run the following command in the root of the directory for this codebase:
docker-compose up --detach
NOTE: run with
sudo
if need be on Linux/macOS
NOTE: Grab a coffee or some snacks. The various downloads will take some time, but docker will cache each stage of the build, so things will be faster next time.
The latest model has the format 1-latest-YYYYMMDD-SSSSSS.tar.gz
https://drive.google.com/drive/folders/1nUG5g63mPg3GN1CH1I6Z3uMUsMEQlOqS
A custom chatbot UI can be found at
http://localhost
The chatbot admin page can be accessed after logging in with RASA_X_PASSWORD
found in .env
:
http://localhost:5002