set permissions for persistent directories

This commit is contained in:
♥ Minnie ♥ 2024-01-23 09:47:32 +08:00
parent 34c6ba9daa
commit 512f4de4a0
No known key found for this signature in database

View file

@ -139,12 +139,10 @@
# Persist our traefik data & logs
environment.persistence."/persist" = {
directories = [
"/var/lib/traefik"
];
files = [
"/var/log/traefik/traefik.log"
"/var/log/traefik/access.log"
{ directory = "/var/lib/traefik"; user = "traefik"; group = "traefik"; }
{ directory = "/var/log/traefik"; user = "traefik"; group = "traefik"; }
];
hideMounts = true;
};
}