diff options
author | Simponic <elizabeth.hunt@simponic.xyz> | 2023-02-01 08:51:20 -0700 |
---|---|---|
committer | Simponic <elizabeth.hunt@simponic.xyz> | 2023-02-01 08:51:20 -0700 |
commit | 3b8d0c44587d25fc7b034dc48e4c8db9259da615 (patch) | |
tree | ddc02d0d9e2669b542b749ce923938e4ac47596e /config | |
parent | bd49a76dc3a26570fea6722f7ee94688420dc9b4 (diff) | |
download | chessh-3b8d0c44587d25fc7b034dc48e4c8db9259da615.tar.gz chessh-3b8d0c44587d25fc7b034dc48e4c8db9259da615.zip |
Multicast instead of .hosts.erlang
Diffstat (limited to 'config')
-rw-r--r-- | config/prod.exs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/config/prod.exs b/config/prod.exs index 15d52a1..6196da8 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -13,8 +13,15 @@ config :chessh, RateLimits, config :libcluster, topologies: [ - erlang_hosts_example: [ - strategy: Elixir.Cluster.Strategy.ErlangHosts, - config: [timeout: 30_000] + chessh: [ + strategy: Elixir.Cluster.Strategy.Gossip, + config: [ + port: 45892, + if_addr: "0.0.0.0", + multicast_if: "192.168.1.1", + multicast_addr: "233.252.1.32", + multicast_ttl: 1, + secret: "chessh" + ] ] ] |