docker-compose.yml and .gitignore
This commit is contained in:
parent
1c81e1ef8e
commit
f31d69e492
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Volumes/
|
44
docker-compose.yml
Normal file
44
docker-compose.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user