diff --git a/config/config.exs b/config/config.exs index 531ddb2..c7812c2 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,16 +1,20 @@ import Config config :ha_handler, - http_port: 4000, + http_port: 4040, acme_challenge_path: "acme-challenge", haproxy_socket: System.get_env("HAPROXY_SOCKET") || "/var/run/haproxy.sock", + handler_instances: [ + :"ha_handler@fenschel", + :"ha_handler2@fenschel" + ], pgsql_instances: [ [ hostname: "pgsql.lnth.ch.recycled.cloud", username: "postgres", database: "postgres", haproxy_server: "lnth", - password: "eicheeR6ieph5jae7oozahf3vesio9Ae", + password: "secret", socket_options: [:inet6], ssl: true ], @@ -19,7 +23,7 @@ config :ha_handler, haproxy_server: "fvil", username: "postgres", database: "postgres", - password: "eicheeR6ieph5jae7oozahf3vesio9Ae", + password: "secret", socket_options: [:inet6], ssl: true ] @@ -27,12 +31,12 @@ config :ha_handler, drbd_instances: [ [ hostname: "drbd.lnth.ch.recycled.cloud", - password: "tu9laiz9teece6aithohjohph6eCh3qu", + password: "secret", haproxy_server: "lnth" ], [ hostname: "drbd.fvil.ch.recycled.cloud", - password: "tu9laiz9teece6aithohjohph6eCh3qu", + password: "secret", haproxy_server: "fvil" ] ]