m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-16 09:03:46 -05:00

Add docs for multiple servers

This commit is contained in:
Sergio
2025-02-07 17:44:46 +02:00
parent a0de565367
commit 1beb7dc020
2 changed files with 21 additions and 0 deletions

View File

@@ -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"
/>
<Cards.Card
icon={<IconServer />}
title="Multiple servers"
href="/docs/configuration/servers"
/>
</Cards>
Here's a full example:

View File

@@ -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
}
```