Install Excalidraw Self-hosted (Docker)

Excalidraw Whiteboard

  • Excalidraw is a virtual whiteboard that even provides a workspace for live collaboration, enabling real-time interaction with colleagues / Team
  • Excalidraw is a free, open-source, browser-based sketching tool.
  • Free your idea
  • Third-party libraries help you visualize your idea, I you have not found libraries that fit with your requirements. you can create and share it.

Install Excalidraw Self-hosted

- docker container
docker pull excalidraw/excalidraw:latest
docker run -d -p 8888:80 --name excalidraw-instance excalidraw/excalidraw:latest
- https with traefik + docker compose
  • Create a docker-compose.yml
version: '3.3'
services:
traefik2:
image: traefik:latest
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=true"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
ports:
- 80:80
- 443:443
networks:
traefik:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container_name: traefik
excalidraw:
image: excalidraw/excalidraw:latest
restart: always
networks:
traefik:
environment:
- LOG_LEVEL=debug
labels:
- "traefik.enable=true"
- "traefik.http.routers.excalidraw.tls=true"
- "traefik.http.routers.excalidraw.rule=Host(`excalidraw.cloud.local`)"
- "traefik.http.routers.excalidraw.entrypoints=websecure"
- "traefik.http.services.excalidraw.loadbalancer.server.port=80"
container_name: excalidraw
networks:
traefik:
driver: bridge
name: traefik
ipam:
driver: default
config:
- subnet: 172.19.0.0/16
  • run command and enjoy.
docker-compose up -d

Discover more from naiwaen@DebuggingSoft

Subscribe to get the latest posts to your email.