45 lines
1004 B
YAML
45 lines
1004 B
YAML
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
|