add ghost, radicale, make paperless public, add vps link

This commit is contained in:
debian
2024-09-08 21:08:22 +02:00
parent 61682090cb
commit 4229392454
9 changed files with 93 additions and 10 deletions

View File

@@ -0,0 +1,39 @@
services:
radicale:
extends:
file: ${TEMPLATES_PATH}
service: default
image: tomsquest/docker-radicale
container_name: radicale
ports:
- 4017:5232
networks:
- ip6net
init: true
read_only: true
cap_drop:
- ALL
cap_add:
- SETUID
- CHOWN
- SETGID
- KILL
# healthcheck:
# test: curl -f http://127.0.0.1:5232 || exit 1
# interval: 30s
# retries: 3
volumes:
- ${SERVICE_PATH}/radicale/data:/data/
- ${SERVICE_PATH}/radicale/config:/data/
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
- "traefik.enable=true"
- "traefik.http.routers.radicale.rule=Host(`radicale.${PUBLIC_DOMAIN}`)"
- "traefik.http.routers.radicale.entrypoints=https"
- "traefik.http.routers.radicale.tls.certresolver=myresolver"
- "traefik.http.routers.radicale.tls=true"
# Middlewares
- "traefik.http.routers.radicale.middlewares=crowdsec-bouncer@file"