58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
services:
|
|
app:
|
|
image: alswl/excalidraw:v0.18.0-fork-b3
|
|
restart: unless-stopped
|
|
environment:
|
|
- VITE_APP_BACKEND_V2_GET_URL=https://${STORAGE_BACKEND_HOST}/api/v2/scenes/
|
|
- VITE_APP_BACKEND_V2_POST_URL=https://${STORAGE_BACKEND_HOST}/api/v2/scenes/
|
|
- VITE_APP_WS_SERVER_URL=https://${ROOM_HOST}/
|
|
- VITE_APP_FIREBASE_CONFIG={}
|
|
- VITE_APP_HTTP_STORAGE_BACKEND_URL=https://${STORAGE_BACKEND_HOST}/api/v2
|
|
- VITE_APP_STORAGE_BACKEND=http
|
|
- VITE_APP_DISABLE_TRACKING=true
|
|
- PUBLIC_URL=https://${APP_HOST}
|
|
networks:
|
|
- draw
|
|
|
|
storage:
|
|
image: alswl/excalidraw-storage-backend:v2023.11.11
|
|
restart: unless-stopped
|
|
environment:
|
|
- STORAGE_URI=mongodb://${DB_USER}:${DB_PASS}@mongodb:27017
|
|
networks:
|
|
- draw
|
|
|
|
room:
|
|
image: excalidraw/excalidraw-room:sha-49bf529
|
|
restart: unless-stopped
|
|
environment:
|
|
PORT: 3002
|
|
networks:
|
|
- draw
|
|
|
|
mongodb:
|
|
image: mongo:7.0.5-jammy
|
|
restart: unless-stopped
|
|
environment:
|
|
- MONGO_INITDB_ROOT_USERNAME=${DB_USER}
|
|
- MONGO_INITDB_ROOT_PASSWORD=${DB_PASS}
|
|
volumes:
|
|
- ./mongo-data:/data/db
|
|
user: "1000"
|
|
networks:
|
|
- draw
|
|
|
|
nginx:
|
|
container_name: nginx-server-ex
|
|
image: nginx
|
|
restart: always
|
|
ports:
|
|
- 5000:80
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
networks:
|
|
- draw
|
|
|
|
networks:
|
|
draw:
|