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:
@@ -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:
|
||||
|
||||
15
docs/src/content/docs/configuration/servers.mdx
Normal file
15
docs/src/content/docs/configuration/servers.mdx
Normal 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
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user