elastic / jarvis

Logstash's ChatOps bot, J.A.R.V.I.S.
41 stars 28 forks source link

Dockerization #115

Open kares opened 3 years ago

kares commented 3 years ago

This work is an dockerization effort for running Jarvis.

Jarvis uses Lita which depends on Redis being present on localhost:6379. We're using the legacy network_mode: host to be able to run a single Docker image, alternatively a docker-compose.yml is present with another image exposing Redis to localhost.

Jarvis was running on MRI but assumes some of it's external process (plugin publishing) task to be run with JRuby. The duality is maintained and both Rubies are installed in the generated image, the default Ruby being JRuby.

The resulting image depends on 3 (private) tokens provided from as environment variables for it's operations:

p.s. Lita has been upgraded from 4.7.1 (that was running previously on AWS) to latest 4.8.0.