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
|
A simple CalDAV (calendar) and CardDAV (contact) server • https://github.com/Kozea/Radicale
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
* **Category**:
|
* **Category**: Apps
|
||||||
* **Status**:
|
* **Status**: ❹💣
|
||||||
* **Image**: [`radicale`](https://hub.docker.com/r/radicale/radicale)
|
* **Image**: [`tomsquest/radicale`](https://hub.docker.com/r/tomsquest/radicale), ❸🍎, 3rd party
|
||||||
* **Healthcheck**:
|
* **Healthcheck**: Yes
|
||||||
* **Backups**:
|
* **Backups**: No
|
||||||
* **Email**:
|
* **Email**: No
|
||||||
* **Tests**:
|
* **Tests**: No
|
||||||
* **SSO**:
|
* **SSO**: No
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Basic usage
|
## Basic usage
|
||||||
|
|
13
compose.yml
13
compose.yml
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: nginx:1.19.2
|
image: tomsquest/docker-radicale:3.0.6.0
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -11,7 +11,7 @@ services:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "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}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "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.SSLForceHost=true"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost:5232"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
start_period: 1m
|
start_period: 1m
|
||||||
|
volumes:
|
||||||
|
- radicale_data:/data
|
||||||
|
- radicale_config:/config:ro
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
radicale_data:
|
||||||
|
radicale_config:
|
||||||
|
|
Loading…
Reference in New Issue