30 lines
751 B
YAML
30 lines
751 B
YAML
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"
|