This commit is contained in:
2026-03-22 08:01:26 +08:00
commit 865b924dc3
15 changed files with 267 additions and 0 deletions

2
radicale/.env Normal file
View File

@@ -0,0 +1,2 @@
UID=1001
GID=1001

1
radicale/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
data/

18
radicale/compose.yaml Normal file
View File

@@ -0,0 +1,18 @@
services:
radicale:
image: ghcr.io/kozea/radicale:stable
restart: unless-stopped
userns_mode: "keep-id"
user: "${UID}:${GID}"
ports:
- 5232:5232
volumes:
- ./config:/etc/radicale
- ./data:/var/lib/radicale:U
networks:
- eryfel-net
networks:
eryfel-net:
external: true

10
radicale/config/config Normal file
View File

@@ -0,0 +1,10 @@
[server]
hosts = 0.0.0.0:5232
[auth]
type = htpasswd
htpasswd_filename = /etc/radicale/users
htpasswd_encryption = bcrypt
[storage]
filesystem_folder = /var/lib/radicale/collections

1
radicale/config/users Normal file
View File

@@ -0,0 +1 @@
ery:$2y$05$AdVdFlCV2R9/EaHO85dxYuWQKBMhso9siK5lCtuMbP/szoiXhT5X6