Monitoring and decision-making logic for our High Availability environment. http://proxy.recycled.cloud
Go to file
Timothée Floure 7a7fcd8e31
web: do not error when proxy is unreachable
2022-02-21 09:31:24 +01:00
config Add initial PGSQL plumbing 2022-02-19 10:18:05 +01:00
lib web: do not error when proxy is unreachable 2022-02-21 09:31:24 +01:00
priv/static Extract all HAProxy stats, return pretty HTML on web 2022-02-18 17:52:38 +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
.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
LICENSE.txt Set license tio AGPLv3 2022-01-25 09:49:07 +01:00
README.md Add container/HAProxy tip to README 2022-01-25 09:44:08 +01:00
changelog.md Sync changelog, release v0.1.1 2022-02-19 11:46:35 +01:00
mix.exs Sync changelog, release v0.1.1 2022-02-19 11:46:35 +01:00
mix.lock web: evaluated static paths at runtime 2022-02-19 11:39:04 +01:00
run-ci.sh Add minimal configuration for builds.sr.ht 2022-01-27 09:35:53 +01:00

README.md

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