This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-03-21 02:39:09 +01:00
commit 41e36a4545
15 changed files with 1247 additions and 0 deletions

29
config.yaml Normal file
View File

@@ -0,0 +1,29 @@
server:
bind_address: "0.0.0.0:8080"
public_url: "http://localhost:8080"
redaction_text: "Busy (Private)"
database:
url: "postgres://nxcaldav@localhost:5432/nxcaldav?sslmode=disable"
users:
- name: "alice"
password: "password123" # Cleartext (will be hashed in DB)
- name: "bob"
password_cmd: "echo secretpassword" # Command (output will be hashed in DB)
- name: "charlie"
password: "$2y$12$LU.8xNK6m98hEJ5oRnBsDuMamfIjXoWTW0eMIJ6yGdLoP3nJAHWH6" # Example dummy hash
calendars:
- id: "Alice"
owner: "alice"
access:
- user: "bob"
mode: "read-only"
- id: "team_project"
owner: "alice"
access:
- user: "bob"
mode: "read-write"
- user: "charlie"
mode: "read-only"