feat: Initial commit

This commit is contained in:
2025-10-10 14:25:32 -04:00
commit 4989ca0dcd
7 changed files with 63 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.env
data/*

9
LICENSE Normal file
View File

@@ -0,0 +1,9 @@
MIT License
Copyright (c) 2025 homelab
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
# Radicale
A calendar and address book service.
- [Radicale Docs](https://radicale.org/v3.html#auth)
- [Docker Image Docs](https://github.com/tomsquest/docker-radicale/blob/master/README.md)

33
compose.yaml Normal file
View File

@@ -0,0 +1,33 @@
# Can be enhanced with an additional compose file
# See also https://docs.docker.com/compose/production/#modify-your-compose-file-for-production
services:
radicale:
image: docker.io/tomsquest/docker-radicale
container_name: radicale
ports:
- 127.0.0.1:5232:5232
init: true
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- SETUID
- SETGID
- CHOWN
- KILL
deploy:
resources:
limits:
memory: 256M
pids: 50
healthcheck:
test: curl -f http://127.0.0.1:5232 || exit 1
interval: 30s
retries: 3
restart: unless-stopped
volumes:
- ${RADICALE_DATA_MNT:-./data}:/data
- ${RADICALE_CONIFIG_MNT:-./config}:/config:ro

10
config/config Normal file
View File

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

1
config/users Normal file
View File

@@ -0,0 +1 @@
michael:$2a$12$4Im5dd.so65.eQbvphKjwO3ZJwI1SX4zZ7Vsm4c2PxSZJbrg/IV72

2
example.env Normal file
View File

@@ -0,0 +1,2 @@
RADICALE_DATA_MNT="./data"
RADICALE_CONFIG_MNT="./config"