diff options
Diffstat (limited to 'lib/chessh')
-rw-r--r-- | lib/chessh/application.ex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chessh/application.ex b/lib/chessh/application.ex index 5538e39..59926cc 100644 --- a/lib/chessh/application.ex +++ b/lib/chessh/application.ex @@ -22,7 +22,9 @@ defmodule Chessh.Application do scheme: :http, plug: Chessh.Web.Endpoint, options: [port: Application.get_env(:chessh, Web)[:port]] - ) + ), + {Cluster.Supervisor, + [Application.get_env(:libcluster, :topologies), [name: Chessh.ClusterSupervisor]]} ] opts = [strategy: :one_for_one, name: Chessh.Supervisor] |