From bce91f0b5e6023e4ac0b8c84a0a398e0250161a3 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 10 Oct 2025 14:50:07 -0400 Subject: [PATCH] feat: Adds user and env file to compose. --- compose.yaml | 2 ++ example.env | 1 + 2 files changed, 3 insertions(+) diff --git a/compose.yaml b/compose.yaml index 4848185..27a2b15 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,6 +9,8 @@ services: - 127.0.0.1:5232:5232 init: true read_only: true + env_file: .env + user: ${RADICALE_USER} security_opt: - no-new-privileges:true cap_drop: diff --git a/example.env b/example.env index 3e370dc..20504d9 100644 --- a/example.env +++ b/example.env @@ -1,2 +1,3 @@ RADICALE_DATA_MNT="./data" RADICALE_CONFIG_MNT="./config" +RADICALE_USER="1000:1000"