Skip to main content

Excalidraw

This section will cover deploying Excalidraw using Docker.

Table of Contents
  • Introduction
  • Excalidraw Setup

Introduction

Excalidraw is a whiteboard tool that can be used to sketch diagrams, workflows, and more.

Excalidraw Setup

We can use the following to deploy Excalidraw on Docker Compose.

services:
  excalidraw:
    image: "excalidraw/excalidraw:latest"
    restart: always
    ports:
      - "5000:80"

The above will expose Excalidraw on port 5000 (can be changed) on the host and map it to port 80 in the container.

Alternatively, we can use a Docker command to deploy it.

sudo docker build -t excalidraw/excalidraw .
sudo docker run --restart=always -p 5000:80 --name excalidraw excalidraw/excalidraw:latest

References: