diff --git a/docs/src/content/docs/configuration/index.mdx b/docs/src/content/docs/configuration/index.mdx index b771ca5..88a207b 100644 --- a/docs/src/content/docs/configuration/index.mdx +++ b/docs/src/content/docs/configuration/index.mdx @@ -8,6 +8,7 @@ import { IconLockOpen, IconKey, IconPlug, + IconServer } from "@tabler/icons-react"; # Configuration @@ -59,6 +60,11 @@ Follow the guides below to customize your `cup.json` title="Theme" href="/docs/configuration/theme" /> + } + title="Multiple servers" + href="/docs/configuration/servers" + /> Here's a full example: diff --git a/docs/src/content/docs/configuration/servers.mdx b/docs/src/content/docs/configuration/servers.mdx new file mode 100644 index 0000000..077e681 --- /dev/null +++ b/docs/src/content/docs/configuration/servers.mdx @@ -0,0 +1,15 @@ +# Multiple servers + +Besides checking for local image updates, you might want to be able to view update stats for all your servers running Cup in a central place. If you choose to add more servers to your Cup configuration, Cup will retrieve the current list of updates from your other servers and it will be included in the results. + +Just add something like this to your config: + +```json +{ + "servers": { + "Cool server 1": "http://your-other-server-running-cup:8000", + "Other server": "http://and-another-one:9000" + } + // Other options +} +``` \ No newline at end of file