Quivio (Kofferwort aus Quire + Video) ersetzt den Arbeitstitel WatchStack. Es ist origineller, frei auf PyPI/npm, und passt perfekt zur Doppelnatur der App: Buecher (Quire) + Serien (Video). Geaendert: - Python-Paket app/ -> quivio/ (+ alle Imports angepasst) - DB-File watchstack.db -> quivio.db - Docker-Image: quivio:0.5.1-beta, Container-Name quivio - Compose-Services: quivio, quivio-local - ENV-Vars: QUIVIO_VERSION, QUIVIO_PORT, Volume quivio-data - Frontend-Logo "W" -> "Q", Titel "Quivio", Footer - Favicon "Q" (Georgia serif fuer klassischen Look) - Logger-Name: watchstack -> quivio - README, NOTICE, dist/README, data/README: Quivio - CI-Workflow: testet quivio/ Pfade - build-and-push.sh: lokaler Tag "quivio:VERSION" - service-Feld in /api/health: quivio - OpenAPI title: Quivio Bugfix (gefunden beim Renaming): - seed.py hatte versteckten "from app.database import DB_PATH" — gefixt Verifiziert end-to-end: - Python-Import OK - Backend: service=quivio, version=0.5.1-beta, 8 unique items - Docker-Build OK, Push in Gitea-Registry OK (neuer sha256-Digest) - Container: Quivio 0.5.1-beta ready (logger), HTML ohne WatchStack-Rest - OpenAPI title=Quivio - 8 unique items nach cold start (Race-Fix haelt)
This commit is contained in:
+5
-5
@@ -1,5 +1,5 @@
|
||||
# =====================================================================
|
||||
# WatchStack — Multi-stage Docker-Build
|
||||
# Quivio — Multi-stage Docker-Build
|
||||
# 1) builder : installiert Dependencies in ein separates venv
|
||||
# 2) runtime : minimal, non-root, nur Runtime-Deps + venv aus builder
|
||||
# =====================================================================
|
||||
@@ -44,7 +44,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& chown -R watchstack:watchstack /data /app
|
||||
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
COPY --chown=watchstack:watchstack app /app/app
|
||||
COPY --chown=watchstack:watchstack quivio /app/quivio
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -59,7 +59,7 @@ VOLUME ["/data"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
|
||||
# gunicorn mit uvicorn-Worker-Klasse fuer ASGI
|
||||
CMD ["sh", "-c", "gunicorn app.main:app \
|
||||
CMD ["sh", "-c", "gunicorn quivio.main:app \
|
||||
--bind ${WATCHSTACK_HOST}:${WATCHSTACK_PORT} \
|
||||
--workers ${WATCHSTACK_WORKERS} \
|
||||
--worker-class uvicorn.workers.UvicornWorker \
|
||||
@@ -71,7 +71,7 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD python -c "import urllib.request, sys; r=urllib.request.urlopen('http://127.0.0.1:'+__import__('os').environ.get('WATCHSTACK_PORT','8000')+'/api/health',timeout=3); sys.exit(0 if r.status==200 else 1)" \
|
||||
|| exit 1
|
||||
|
||||
LABEL org.opencontainers.image.title="WatchStack" \
|
||||
org.opencontainers.image.description="Watchlist für Bücher, Serien & mehr" \
|
||||
LABEL org.opencontainers.image.title="Quivio" \
|
||||
org.opencontainers.image.description="Watchlist für Bücher, Serien & mehr (Quire + Video)" \
|
||||
org.opencontainers.image.source="https://git.pkop.de/Vibecode/watchlist" \
|
||||
org.opencontainers.image.licenses="Apache-2.0"
|
||||
|
||||
Reference in New Issue
Block a user