mirror of
https://github.com/arthur-pbty/visio.git
synced 2026-06-03 15:07:42 +02:00
739fa54719
feat: create SocketContext for managing socket connections feat: implement useLocalStorage hook for persistent state management feat: set up SQLite database with room management functions feat: add utility functions for generating room IDs and formatting dates
21 lines
477 B
YAML
21 lines
477 B
YAML
services:
|
|
visio:
|
|
image: node:20-alpine
|
|
container_name: visio-app
|
|
working_dir: /app
|
|
volumes:
|
|
- ./:/app
|
|
- /app/node_modules
|
|
ports:
|
|
- "3010:3000"
|
|
environment:
|
|
- PORT=3000
|
|
command: sh -c "npm install && npm run build && npm start"
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|