generated from coop-cloud/example
Initial config
This commit is contained in:
parent
30d8ac4f49
commit
ad7ae444df
16
README.md
16
README.md
|
@ -3,14 +3,14 @@
|
|||
A simple CalDAV (calendar) and CardDAV (contact) server • https://github.com/Kozea/Radicale
|
||||
|
||||
<!-- metadata -->
|
||||
* **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
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
|
|
13
compose.yml
13
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:
|
||||
|
|
Loading…
Reference in New Issue