cabot icon indicating copy to clipboard operation
cabot copied to clipboard

Installing Plugins In Docker

Open meowingtons opened this issue 6 years ago • 5 comments

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.

meowingtons avatar May 01 '18 20:05 meowingtons

Did you ever figure this out @meowingtons?

DJM0 avatar Aug 22 '18 13:08 DJM0

@davidmaitland sorry for the late response, no. Ended up just installing on a VM and doing it that way.

meowingtons avatar Aug 30 '18 02:08 meowingtons

@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

DJM0 avatar Aug 30 '18 08:08 DJM0

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.

whysthatso avatar Nov 24 '18 15:11 whysthatso

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

whysthatso avatar Nov 29 '18 16:11 whysthatso