cabot
cabot copied to clipboard
Installing Plugins In Docker
What is the best way to install alerting/check plugins in the Docker container? Is this even possible? I see a few different issues where people mention using pip to install them - just not sure how that would work in a container.
Did you ever figure this out @meowingtons?
@davidmaitland sorry for the late response, no. Ended up just installing on a VM and doing it that way.
@meowingtons thanks. I ended up creating my own docker image just to run the needed pip install:
FROM cabotapp/cabot:0.11.12
RUN pip install cabot_alert_telegram
if i could x-post this: https://github.com/cabotapp/docker-cabot/issues/26
@davidmaitland i'm essentially doing the same thing, but ran into this error:
ImportError: No module named cabot_alert_telegram
i fear that something in my process (described in the above issue) might be wrong, but i just cannot figure out what.
i actually had a whitespace in my env var. make sure your list looks something like this, no whitespace between: CABOT_PLUGINS_ENABLED=cabot_alert_email,cabot_alert_telegram,cabot_alert_webhook,cabot_check_sslcert,cabot_check_ping