mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-31 17:39:37 +00:00
Replace the legacy desktop/Tkinter client and packaging artifacts with a Docker-first, web-hosted approach. - Add Docker quickstart and run-from-source instructions to the README to simplify deployment. - Simplify launcher to invoke the new web backend module instead of the old desktop entrypoint. - Update dependencies for a web UI stack (FastAPI, Uvicorn, python-socketio, Jinja2, etc.) and remove desktop/tray-specific packages. - Remove legacy GUI, packaging and platform-specific helper code, along with obsolete build/pack scripts and AppImage assets to declutter the repo. - Tidy project ignore rules to add runtime logs and editor metadata. Rationale: streamline deployment, favor a browser-accessible interface, and reduce maintenance overhead from multiple platform-specific GUI/packaging implementations.
34 lines
840 B
YAML
34 lines
840 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
twitch-drops-miner:
|
|
build: .
|
|
container_name: twitch-drops-miner
|
|
image: twitch-drops-miner:latest
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
# Mount data directory for persistent storage
|
|
- ./data:/app/data
|
|
environment:
|
|
# Set timezone (optional, defaults to UTC)
|
|
- TZ=UTC
|
|
# Docker environment flag
|
|
- DOCKER_ENV=1
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/status')"]
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 10s
|
|
# Optional: Limit resources
|
|
# deploy:
|
|
# resources:
|
|
# limits:
|
|
# cpus: '1'
|
|
# memory: 512M
|
|
# reservations:
|
|
# cpus: '0.5'
|
|
# memory: 256M
|