27 lines
593 B
Elixir
27 lines
593 B
Elixir
use Mix.Config
|
|
|
|
config :elstat,
|
|
port: 8069,
|
|
|
|
# which services will be managed by elstat?
|
|
# this follows a service spec
|
|
# the example here is for elixire
|
|
services: %{
|
|
elixire: %{
|
|
description: "the backend of elixi.re",
|
|
adapter: Elstat.Adapter.Elixire,
|
|
adapter_opts: %{
|
|
base_url: "https://elixi.re",
|
|
},
|
|
# every 10 seconds
|
|
poll: 10,
|
|
},
|
|
genserver: %{
|
|
description: "genserver, elixire main server",
|
|
adapter: Elstat.Adapter.Ping,
|
|
adapter_opts: %{
|
|
address: "192.168.1.1",
|
|
},
|
|
poll: 15,
|
|
},
|
|
}
|