arachnys / cabot

Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
MIT License
5.59k stars 593 forks source link

Changing SMTP/e-mail details after Docker install #623

Closed bpr-sulli closed 6 years ago

bpr-sulli commented 6 years ago

Hi,

I installed Cabot with Docker but I don't get any e-mail alerts. There doesn't seem to be any configurable settings for the e-mail alert plugin in Cabot or the Django admin. How can I change/add/update my e-mail settings (SMTP server, etc)? None of the docker containers appear to have an env.conf file.

If I need to re-run the container/image, which one(s)? Can I keep the database container as-is so I don't lose my configured checks?

Thanks,

hartwork commented 6 years ago

Based on this output ..

# egrep '\.env|^  [^ ]+' docker-compose.yml 
  web:
      - conf/development.env
  worker:
      - conf/development.env
  beat:
      - conf/development.env
  redis:
  db:
  datavolume:

.. I believe that you (can keep your database and) need to shutdown-rebuild-start web, worker and beat, only.

bpr-sulli commented 6 years ago

Ok, I think that makes sense - can take it from there. Many thanks!