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"