bmon icon indicating copy to clipboard operation
bmon copied to clipboard

Decouple `bmon-infra deploy` from infrastructure restart

Open jamesob opened this issue 2 years ago • 0 comments

Certain bmon-server infrastructure often doesn't need to be restarted during deploys (e.g. db, redis). Specifically in the case of redis, we don't want to routinely restart the container because of the ephemeral nature of redis' storage.

Split out deployment for app containers (e.g. server-task-worker) from the more infra-based containers. This probably amounts to having separate systemd unit files for each "type" of process, perhaps:

  • Infra containers
    • db
    • redis
  • Grafan containers
    • grafana
    • prom
    • alertman
    • loki
  • bmon containers
    • web
    • server-task-worker

jamesob avatar Oct 06 '22 21:10 jamesob