feat(server): drop unused web services

This commit is contained in:
2025-08-23 09:44:28 +08:00
parent a1fa09008b
commit b5dca35878
5 changed files with 3 additions and 90 deletions

View File

@@ -5,26 +5,12 @@
}:
{
sops.secrets = {
flatnote-env = {
sopsFile = secrets.flatnote;
format = "dotenv";
};
siyuan-env = {
sopsFile = secrets.siyuan;
format = "dotenv";
};
};
virtualisation.oci-containers.containers = {
flatnotes = {
image = "dullage/flatnotes:latest";
volumes = [
"/mnt/nas/flatnotes/data:/data"
];
environmentFiles = [
"${config.sops.secrets.flatnote-env.path}"
];
ports = [ "8093:8080" ];
};
siyuan = {
image = "apkdv/siyuan-unlock:v3.1.30";
volumes = [
@@ -52,11 +38,6 @@
};
};
services.caddy.virtualHosts = {
"note.imxyy.top" = {
extraConfig = ''
reverse_proxy :8093
'';
};
"sy.imxyy.top" = {
extraConfig = ''
reverse_proxy :8095