configures homepage dashboard on vps
This commit is contained in:
parent
35d0596f88
commit
7ddc189772
1 changed files with 27 additions and 0 deletions
|
|
@ -131,6 +131,30 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Homepage
|
||||
services.homepage-dashboard = {
|
||||
enable = true;
|
||||
listenPort = 9001;
|
||||
services = [
|
||||
{
|
||||
"VPS" = [
|
||||
{
|
||||
"Vaultwarden" = {
|
||||
href = "https://vault.dnsc.io";
|
||||
icon = "vaultwarden.png";
|
||||
};
|
||||
}
|
||||
{
|
||||
"Uptime Kuma" = {
|
||||
href = "https://uptime.dnsc.io";
|
||||
icon = "uptime-kuma.png";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Caddy
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
|
@ -155,6 +179,9 @@
|
|||
virtualHosts."uptime.dnsc.io".extraConfig = ''
|
||||
reverse_proxy localhost:9000
|
||||
'';
|
||||
virtualHosts."home.dnsc.io".extraConfig = ''
|
||||
reverse_proxy localhost:9001
|
||||
'';
|
||||
};
|
||||
|
||||
# Environment variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue