docker-compose-collection/excalidraw/docker-compose.yml

28 lines
1 KiB
YAML
Raw Permalink Normal View History

2025-03-16 19:31:07 +00:00
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"
2025-03-16 19:31:07 +00:00
- "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