Skip to content

Excalidraw

Excalidraw is used as a whiteboard to sketch ideas.

🛠 Installation

Default Port: 5000

homelab/docker/excalidraw

task up
docker compose up

âš™ Config

homelab/docker/excalidraw/.env

CONTAINER_NAME=excalidraw
homelab/docker/excalidraw/compose.yaml
---
services:
  excalidraw:
    container_name: ${CONTAINER_NAME}
    image: excalidraw/excalidraw:latest
    env_file:
      - .env
    ports:
      - '5000:80'
    restart: always

Traefik

homelab/pve/traefik/conf.d/excalidraw.yaml
---
http:
 #region routers 
  routers:
    excalidraw:
      entryPoints:
        - "websecure"
      rule: "Host(`draw.l.nicholaswilde.io`)"
      middlewares:
        - default-headers@file
        - https-redirectscheme@file
      tls: {}
      service: excalidraw
#endregion
#region services
  services:
    excalidraw:
      loadBalancer:
        servers:
          - url: "http://192.168.2.91:5000"
        passHostHeader: true
#endregion

Task List

task: Available tasks for this project:
* decrypt:       Decrypt sensitive configuration files using SOPS.
* default:       List all available tasks.
* encrypt:       Encrypt sensitive configuration files using SOPS.
* export:        Export the task list to `task-list.txt`.
* init:          Initialize the application's environment and configuration files.
* pull:          Pull Docker images for the application.
* restart:       Restart the application's Docker containers.
* status:        Check the status of the application's Docker containers.
* stop:          Stop the application's Docker containers.
* up:            Run Docker Compose in the foreground.
* up-d:          Run Docker Compose in the background.
* update:        Update the application or its running containers.
* upgrade:       Upgrade the application by pulling the latest changes and updating.

🔗 References