From 9f82716650ce4e9641c46b8d6ac79dd59e0f2526 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 16 Jan 2023 12:14:26 +0100 Subject: [PATCH] Set UID/GID for users --- authentication.docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentication.docker-compose.yml b/authentication.docker-compose.yml index 8f11c98..2d2392e 100644 --- a/authentication.docker-compose.yml +++ b/authentication.docker-compose.yml @@ -5,6 +5,8 @@ services: image: authelia/authelia command: --config /etc/authelia/configuration.yml,/etc/authelia/access.yml,/etc/authelia/authentication.yml environment: + PUID: ${NASCOMPOSE_UID?} + PGID: ${NASCOMPOSE_GID?} NASCOMPOSE_TRAEFIK_DOMAINS: ${NASCOMPOSE_TRAEFIK_DOMAINS?} AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret @@ -14,7 +16,6 @@ services: AUTHELIA_NOTIFIER_SMTP_USERNAME: ${NASCOMPOSE_AUTHELIA_SMTP_USERNAME?} AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE: /run/secrets/smtp_password AUTHELIA_NOTIFIER_SMTP_SENDER: ${NASCOMPOSE_AUTHELIA_SMTP_SENDER?} - networks: - traefik volumes: