fix persistence

This commit is contained in:
♥ Minnie ♥ 2024-10-16 07:12:04 +08:00
parent 999740e7bd
commit 106f39a140
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 9 additions and 3 deletions

View file

@ -18,7 +18,6 @@
"/var/lib/redis-immich"
"/var/lib/redis-paperless"
"/var/lib/traefik"
"/var/lib/wiki-js"
# Multimedia
"/srv/multimedia/containers/jellyfin"
"/srv/multimedia/containers/lidarr"

View file

@ -26,7 +26,7 @@
services.traefik.dynamicConfigOptions.http.routers = {
wiki-js = {
rule = "Host(`wiki.sajkbd.io`)";
rule = "Host(`docs.sajkbd.io`)";
entryPoints = [
"websecure"
];
@ -44,5 +44,12 @@
];
};
environment.persistence."/persist".directories = ["/var/lib/wiki-js"];
environment.persistence."/persist" = {
directories = [
{
directory = "/var/lib/private";
mode = "0700";
}
];
};
}