Files
sleep-guard/compose.yaml
Vadim Sobinin 420d75a3b7 feat(proxy): add service CRUD with persistent storage
ServiceManager with JSON file persistence replaces static env var config.
CRUD API endpoints (POST/PUT/DELETE /api/services) with WebSocket broadcast.
Dashboard: add/edit/delete services via modal form.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-10 16:05:44 +03:00

34 lines
700 B
YAML

services:
proxy:
build:
context: .
dockerfile: packages/proxy/Dockerfile
ports:
- "47391:47391"
env_file:
- .env
volumes:
- ./data/proxy:/app/data
restart: unless-stopped
agent:
build:
context: .
dockerfile: packages/agent/Dockerfile
ports:
- "48527:48527"
env_file:
- .env
# GPU passthrough for nvidia-smi
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
# Access to /proc/diskstats for disk I/O monitoring
volumes:
- /proc/diskstats:/proc/diskstats:ro
restart: unless-stopped