Monitoring and decision-making logic for our High Availability environment. http://proxy.recycled.cloud
Find a file
Timothée Floure b9aa3eeb98
Add initial plumbing for DRBD
This is 'quickly-hacked-together' and needs some love - it's working,
but is ways to fragile. It's no more than a POC atm.
2022-02-25 13:39:58 +01:00
config Add initial PGSQL plumbing 2022-02-19 10:18:05 +01:00
lib Add initial plumbing for DRBD 2022-02-25 13:39:58 +01:00
priv/static Add initial plumbing for DRBD 2022-02-25 13:39:58 +01:00
rel Add our own OTP release configuration 2022-01-25 10:52:07 +01:00
test Initial mix project 2022-01-24 14:03:10 +01:00
.build.yml Add minimal configuration for builds.sr.ht 2022-01-27 09:35:53 +01:00
.editorconfig Set editorconfig, format whole codebase 2022-02-23 17:53:00 +01:00
.formatter.exs Initial mix project 2022-01-24 14:03:10 +01:00
.gitignore Initial mix project 2022-01-24 14:03:10 +01:00
changelog.md Sync changelog, release 0.2.1 2022-02-23 17:56:04 +01:00
LICENSE.txt Set license tio AGPLv3 2022-01-25 09:49:07 +01:00
mix.exs Add initial plumbing for DRBD 2022-02-25 13:39:58 +01:00
mix.lock web: evaluated static paths at runtime 2022-02-19 11:39:04 +01:00
README.md Add container/HAProxy tip to README 2022-01-25 09:44:08 +01:00
run-ci.sh Add minimal configuration for builds.sr.ht 2022-01-27 09:35:53 +01:00

High Availability Handler

This software monitors and make decision in our High Availability environment.

Development

You'll need the elixir toolchain available.

cd ha-handler/
mix deps.get
iex -S mix

Tip: you can use containers to run the various external components of the HA setup locally without tainting your system. e.g.

  • podman run -it --rm --network=host --mount type=bind,src=local_haproxy_conf_folder/,target=/usr/local/etc/haproxy haproxy:2.2.20-alpine3.15