docker-compose-collection/excalidraw/docker-compose.yml
2025-03-16 20:57:52 +00:00

28 lines
No EOL
1 KiB
YAML

services:
excalidraw:
image: excalidraw/excalidraw:${EXCALIDRAW_VERSION:-latest}
container_name: excalidraw
restart: on-failure
stdin_open: true
healthcheck:
disable: true
environment:
- NODE_ENV=development
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.excalidraw.entrypoints=http"
- "traefik.http.routers.excalidraw.rule=Host(`${EXCALIDRAW_DOMAIN:?error}`)"
- "traefik.http.middlewares.excalidraw-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.excalidraw.middlewares=excalidraw-https-redirect"
- "traefik.http.routers.excalidraw-secure.entrypoints=https"
- "traefik.http.routers.excalidraw-secure.rule=Host(`${EXCALIDRAW_DOMAIN:?error}`)"
- "traefik.http.routers.excalidraw-secure.tls=true"
- "traefik.http.routers.excalidraw-secure.service=excalidraw"
- "traefik.http.services.excalidraw.loadbalancer.server.port=80"
networks:
traefik:
external: true