From f31d69e49250e37cd7e2b49772ceb20ff3cfd6ca Mon Sep 17 00:00:00 2001 From: DylanBanta Date: Sun, 25 May 2025 22:37:32 -0400 Subject: [PATCH] docker-compose.yml and .gitignore --- .gitignore | 1 + docker-compose.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae9c84e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Volumes/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..dcfb63c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,44 @@ +services: + excalidraw: + build: + context: ./Docker/excalidraw + dockerfile: Dockerfile + container_name: excalidraw + healthcheck: + disable: true + ports: + - "10059:80" + + excalidraw-storage-backend: + build: + context: ./Docker/excalidraw-storage-backend + dockerfile: Dockerfile.override + container_name: excalidraw-storage-backend + ports: + - "10058:8080" + environment: + STORAGE_URI: redis://redis:6379 + volumes: + - ./Volumes/excalidraw-storage-data:/home/node/.npm + + excalidraw-room: + image: excalidraw/excalidraw-room + container_name: excalidraw-room + ports: + - "5000:80" + + redis: + image: redis + container_name: excalidraw-redis + ports: + - "6379:6379" + command: + - redis-server + - "--save" # disable RDB snapshots + - "" + - "--appendonly" # disable AOF + - "no" + - "--stop-writes-on-bgsave-error" + - "no" + volumes: + - ./Volumes/redis-data:/data