feat: Adds user and env file to compose.

This commit is contained in:
2025-10-10 14:50:07 -04:00
parent 4989ca0dcd
commit bce91f0b5e
2 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ services:
- 127.0.0.1:5232:5232 - 127.0.0.1:5232:5232
init: true init: true
read_only: true read_only: true
env_file: .env
user: ${RADICALE_USER}
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
cap_drop: cap_drop:

View File

@@ -1,2 +1,3 @@
RADICALE_DATA_MNT="./data" RADICALE_DATA_MNT="./data"
RADICALE_CONFIG_MNT="./config" RADICALE_CONFIG_MNT="./config"
RADICALE_USER="1000:1000"