forked from b310-digital/excalidraw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 925 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: "3.8"
services:
excalidraw:
stdin_open: true
build:
context: .
target: development
container_name: excalidraw
ports:
- "3000:3000"
restart: on-failure
healthcheck:
disable: true
environment:
- NODE_ENV=development
volumes:
- node_modules:/opt/node_app/node_modules
- ./:/opt/node_app/
excalidraw-storage-backend:
stdin_open: true
build:
context: https://github.com/kitsteam/excalidraw-storage-backend.git#main
target: production
ports:
- "8080:8080"
environment:
STORAGE_URI: redis://:${REDIS_PASSWORD}@redis:6379
STORAGE_TTL: 2592000000
excalidraw-room:
image: excalidraw/excalidraw-room
ports:
- "5001:80"
redis:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
volumes:
- redis_data:/data
volumes:
redis_data:
node_modules: