Files

51 lines
1.4 KiB
YAML

services:
radicale:
image: tomsquest/docker-radicale:latest
container_name: radicale
restart: unless-stopped
environment:
- TZ=${TZ}
- RADICALE_USERNAME=${RADICALE_USERNAME}
- RADICALE_PASSWORD=${RADICALE_PASSWORD}
volumes:
- ./data:/data
- ./config:/config
ports:
- "${RADICALE_PORT}:5232"
networks:
- caldav_net
- coolify-proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.radicale.rule=Host(`${RADICALE_DOMAIN}`)"
- "traefik.http.routers.radicale.entrypoints=${COOLIFY_ENTRYPOINTS}"
- "traefik.http.services.radicale.loadbalancer.server.port=5232"
infcloud:
image: nginx:alpine
container_name: infcloud
restart: unless-stopped
depends_on:
- radicale
environment:
- TZ=${TZ}
ports:
- "${INFCLOUD_PORT}:80"
volumes:
- ./infcloud_config:/usr/share/nginx/html:ro
- ./infcloud_config/nginx-simple.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- caldav_net
- coolify-proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.infcloud.rule=Host(`${INFCLOUD_DOMAIN}`)"
- "traefik.http.routers.infcloud.entrypoints=${COOLIFY_ENTRYPOINTS}"
- "traefik.http.services.infcloud.loadbalancer.server.port=80"
networks:
caldav_net:
driver: bridge
coolify-proxy:
external: true