Skip to content

Configuration Values

Gabriel Simmer edited this page Apr 25, 2019 · 2 revisions

Both Master and Client have a config.yml that can be used to configure a couple of things.

Master

port: 9090
interval: 1

Port is whatever port you want Platypus to run on - this does require a restart. Interval is how often changes are pushed out to browsers viewing the frontend, and does not require a restart - just a page refresh to refresh the connection.

Client

master: 127.0.0.1:9090
secret: xxx

The master entry is the location of your master server - this can be localhost to monitor the very server Platypus is on, or the public IP or DNS entry of the server. It's recommended you run Platypus separately from the rest of your critical infrastructure so it can do it's job, but whatever floats your boat.

Secret is critical, and is essentially the API key required to authenticate. This can be found on the master in a .secret file - it's not recommended you give out this key, as it could result in unwanted parties sending data to your instance.

Clone this wiki locally