From ad7ae444df15e6d447e1164f894f71e92c1a6917 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Thu, 11 Mar 2021 10:37:11 +0200 Subject: [PATCH] Initial config --- README.md | 16 ++++++++-------- compose.yml | 13 ++++++++++--- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8ee3759..a9f8a06 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ A simple CalDAV (calendar) and CardDAV (contact) server β€’ https://github.com/Kozea/Radicale -* **Category**: -* **Status**: -* **Image**: [`radicale`](https://hub.docker.com/r/radicale/radicale) -* **Healthcheck**: -* **Backups**: -* **Email**: -* **Tests**: -* **SSO**: +* **Category**: Apps +* **Status**: βΉπŸ’£ +* **Image**: [`tomsquest/radicale`](https://hub.docker.com/r/tomsquest/radicale), ❸🍎, 3rd party +* **Healthcheck**: Yes +* **Backups**: No +* **Email**: No +* **Tests**: No +* **SSO**: No ## Basic usage diff --git a/compose.yml b/compose.yml index 662a96c..eccdc85 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: app: - image: nginx:1.19.2 + image: tomsquest/docker-radicale:3.0.6.0 networks: - proxy deploy: @@ -11,7 +11,7 @@ services: condition: on-failure labels: - "traefik.enable=true" - - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" + - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=5232" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" @@ -20,12 +20,19 @@ services: #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" healthcheck: - test: ["CMD", "curl", "-f", "http://localhost"] + test: ["CMD", "curl", "-f", "http://localhost:5232"] interval: 30s timeout: 10s retries: 10 start_period: 1m + volumes: + - radicale_data:/data + - radicale_config:/config:ro networks: proxy: external: true + +volumes: + radicale_data: + radicale_config: