mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-22 04:50:46 +02:00
release: default to Web UI in Docker image, add HEALTHCHECK and APP_VERSION; CI smoke test; compose docs and dockerhub compose file
This commit is contained in:
parent
9357a04541
commit
be672ac5d2
6 changed files with 96 additions and 4 deletions
34
dockerhub-docker-compose.yml
Normal file
34
dockerhub-docker-compose.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
services:
|
||||
web:
|
||||
image: mwisnowski/mtg-python-deckbuilder:latest
|
||||
# Tip: pin to a specific tag when available, e.g. :2.0.2 (defaults to Web UI)
|
||||
container_name: mtg-deckbuilder-web
|
||||
ports:
|
||||
- "8080:8080" # Host:Container — open http://localhost:8080
|
||||
environment:
|
||||
# UI features/flags (all optional)
|
||||
- SHOW_LOGS=1 # 1=enable /logs page; 0=hide (default off if unset)
|
||||
- SHOW_DIAGNOSTICS=1 # 1=enable /diagnostics & /diagnostics/perf; 0=hide (default off)
|
||||
- ENABLE_PWA=0 # 1=serve manifest/service worker (experimental); 0=disabled
|
||||
- WEB_VIRTUALIZE=1 # 1=enable list virtualization/lazy tweaks in Web UI; 0=off
|
||||
- WEB_TAG_PARALLEL=1 # 1=parallelize heavy tagging steps in Web UI; 0=serial
|
||||
- WEB_TAG_WORKERS=4 # Worker count for parallel tagging (only used if WEB_TAG_PARALLEL=1)
|
||||
|
||||
# Theming (optional)
|
||||
- THEME=system # Default theme for first-time visitors: system|light|dark
|
||||
# 'light' maps to the consolidated Light (Blend) palette
|
||||
- ENABLE_THEMES=1 # 1=show theme selector in header; 0=hide selector
|
||||
# Note: THEME still applies as the default even if selector is hidden
|
||||
|
||||
# Version label (optional; shown in footer/diagnostics)
|
||||
# - APP_VERSION=v2.0.2
|
||||
|
||||
volumes:
|
||||
# Persist app data locally; ensure these directories exist next to this compose file
|
||||
- ${PWD}/deck_files:/app/deck_files
|
||||
- ${PWD}/logs:/app/logs
|
||||
- ${PWD}/csv_files:/app/csv_files
|
||||
- ${PWD}/config:/app/config
|
||||
- ${PWD}/owned_cards:/app/owned_cards
|
||||
|
||||
restart: unless-stopped
|
Loading…
Add table
Add a link
Reference in a new issue