set permissions for persistent directories
This commit is contained in:
parent
34c6ba9daa
commit
512f4de4a0
|
@ -139,12 +139,10 @@
|
||||||
# Persist our traefik data & logs
|
# Persist our traefik data & logs
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"/var/lib/traefik"
|
{ directory = "/var/lib/traefik"; user = "traefik"; group = "traefik"; }
|
||||||
];
|
{ directory = "/var/log/traefik"; user = "traefik"; group = "traefik"; }
|
||||||
files = [
|
|
||||||
"/var/log/traefik/traefik.log"
|
|
||||||
"/var/log/traefik/access.log"
|
|
||||||
];
|
];
|
||||||
|
hideMounts = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue