docker-compose.yml and .gitignore

This commit is contained in:
DylanBanta 2025-05-25 22:37:32 -04:00
parent 1c81e1ef8e
commit f31d69e492
2 changed files with 45 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
Volumes/

44
docker-compose.yml Normal file
View File

@ -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