- Rename project from system-monitor to Tyto (barn owl themed) - Update Go module name and all import paths - Update Docker container names (tyto-backend, tyto-frontend) - Update localStorage keys (tyto-settings, tyto-hosts) - Create barn owl SVG favicon and PWA icons (192, 512) - Update header with owl logo icon - Update manifest.json and app.html with Tyto branding Named after Tyto alba, the barn owl — nature's silent, watchful guardian 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1011 B
YAML
44 lines
1011 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: tyto-backend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9848:8080"
|
|
environment:
|
|
- PORT=8080
|
|
- PROC_PATH=/host/proc
|
|
- SYS_PATH=/host/sys
|
|
- MTAB_PATH=/host/etc/mtab
|
|
- DOCKER_SOCKET=/var/run/docker.sock
|
|
- DEFAULT_REFRESH_INTERVAL=5s
|
|
volumes:
|
|
- /proc:/host/proc:ro
|
|
- /sys:/host/sys:ro
|
|
- /etc/mtab:/host/etc/mtab:ro
|
|
# Docker socket for container monitoring (optional)
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
# D-Bus socket for systemd monitoring (optional)
|
|
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro
|
|
networks:
|
|
- tyto
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
container_name: tyto-frontend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9847:80"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- tyto
|
|
|
|
networks:
|
|
tyto:
|
|
driver: bridge
|