diff --git a/radicale/docker-compose.yml b/radicale/docker-compose.yml new file mode 100644 index 0000000..18b1f9c --- /dev/null +++ b/radicale/docker-compose.yml @@ -0,0 +1,29 @@ +services: + radicale: + image: tomsquest/docker-radicale:3.5.4.0 + container_name: radicale + 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 + volumes: + - ${APPDATA_PATH}/radicale/data:/data + ports: + - ${PORT}:5232 + restart: unless-stopped