set permissions for persistent directories
This commit is contained in:
parent
34c6ba9daa
commit
512f4de4a0
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue