Files
skywatch/docker-compose.yml
Nate Emmert 4e4f2fb324 Add Docker support and update README
- Add Dockerfile with multi-stage build for Node.js + React
- Add docker-compose.yml for easy local deployment
- Add .dockerignore to exclude unnecessary files
- Add GitHub Actions workflow for automatic Docker image builds and pushes to GHCR
- Add comprehensive DOCKER.md documentation
- Update README with Docker installation instructions
2025-12-12 13:32:01 -05:00

29 lines
568 B
YAML

version: '3.8'
services:
skywatch:
build:
context: .
dockerfile: Dockerfile
container_name: skywatch-monitor
ports:
- "3001:3001"
environment:
- NODE_ENV=production
- PORT=3001
env_file:
- .env
volumes:
- skywatch-data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3001/api/groups"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
skywatch-data:
driver: local