Skip to content

An example using Gleam's nessie_cluster library on Fly.io

Notifications You must be signed in to change notification settings

ckreiling/nessie_cluster_example

Repository files navigation

nessie_cluster_example

An example using nessie_cluster on Fly.io to cluster nodes.

fly launch
fly secrets set ERLANG_COOKIE='supersecretvalue'
fly deploy # if setting the secret doesn't restart nodes

For production, considering using https://pwgen.io/ to generate the Erlang cookie.

Now you can add new nodes to the cluster with fly scale count:

fly scale count 6 # scale to 6 machines

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

About

An example using Gleam's nessie_cluster library on Fly.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published