-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
56 lines (53 loc) · 1.49 KB
/
docker-compose.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
version: "3.7"
volumes:
redis_data:
notused:
driver: local
services:
excalidraw-server:
container_name: excalidraw-server
build:
context: .
dockerfile: Dockerfile
args:
VITE_APP_BACKEND_V2_GET_URL: ${VITE_APP_BACKEND_V2_GET_URL}
VITE_APP_BACKEND_V2_POST_URL: ${VITE_APP_BACKEND_V2_POST_URL}
VITE_APP_WS_SERVER_URL: ${VITE_APP_WS_SERVER_URL}
restart: always
ports:
- "3001:80"
environment:
NODE_ENV: production
TZ: Europe/Amsterdam
PUB_SRV_NAME: ${PUB_SRV_NAME}
PUB_SRV_NAME_WS: ${PUB_SRV_NAME_WS}
VITE_APP_BACKEND_V2_GET_URL: ${VITE_APP_BACKEND_V2_GET_URL}
VITE_APP_BACKEND_V2_POST_URL: ${VITE_APP_BACKEND_V2_POST_URL}
VITE_APP_WS_SERVER_URL: ${VITE_APP_WS_SERVER_URL}
volumes:
- notused:/opt/node_app/app/node_modules
excalidraw-room:
container_name: excalidraw-room
image: excalidraw/excalidraw-room:latest
restart: always
environment:
TZ: Europe/Amsterdam
PORT: 3002
ports:
- "3002:3002"
excalidraw-storage-backend:
container_name: excalidraw-storage
stdin_open: true
build:
context: https://github.com/kitsteam/excalidraw-storage-backend.git#main
target: production
ports:
- "3003:8080"
environment:
STORAGE_URI: redis://:${REDIS_PASSWORD}@redis:6379
STORAGE_TTL: 2592000000
redis:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
volumes:
- redis_data:/data