Oliver Hofmann
cdd55880d6
Remove unnecessary bold formatting from Anthropic API feature entries
2026-05-10 10:00:34 +02:00
Oliver Hofmann
6b2ae4b072
Remove BACKEND_API_KEY from public documentation
2026-05-10 09:58:50 +02:00
Oliver Hofmann
9872175fb0
Add LICENSE, update docs with Anthropic endpoint and free-claude-code attribution
2026-05-10 09:53:12 +02:00
Oliver Hofmann
34b108f4df
Replace default_model with force_model (model lock)
...
Removes DEFAULT_MODEL in favour of a force_model setting configurable
via the admin UI. When set, every proxy request's model field is
overridden, preventing uncoordinated model switches during lab sessions.
Updates schemas, admin API, all three proxy endpoints, frontend,
init_db, and docs (README, DOCKERHUB, KURZANLEITUNG).
2026-05-08 08:02:16 +02:00
Oliver Hofmann
256bafe30d
Explain network_mode: host motivation in README
2026-05-07 16:14:44 +02:00
Oliver Hofmann
31504d1a5b
Remove DOCKERHUB.md reference from README
2026-05-07 16:09:22 +02:00
Oliver Hofmann
2e7b13227d
Make ADMIN_HOST consistent across dev and prod
2026-05-07 16:08:05 +02:00
Oliver Hofmann
5469981eb5
Add ADMIN_HOST to env tables and .env example
2026-05-07 16:04:23 +02:00
Oliver Hofmann
a1e293b1d7
Add ADMIN_HOST env var, restructure docs
...
- docker-entrypoint.sh: Admin-API bindet auf ADMIN_HOST (default 0.0.0.0)
statt hardcoded 0.0.0.0 — ermöglicht Einschränkung auf 127.0.0.1
- README: Zweck-Beschreibung, HTTPS-Reverse-Proxy-Abschnitt (Caddy/Nginx),
Port-8001-Abschnitt korrigiert (Docker-Port-Mapping greift bei
network_mode: host nicht), ADMIN_HOST in Konfig-Tabelle ergänzt
- DOCKERHUB.md / DOCKERHUB.en.md: Auf drei Szenarien reduziert
(network_mode: host, Ollama als Container + SQLite/PostgreSQL);
host.docker.internal-Varianten entfernt
- review_priorities.md: gelöscht (alle Punkte behoben)
2026-05-07 16:03:03 +02:00
Oliver Hofmann
89661dafcc
Update README: new endpoints, Docker Hub, streaming, PyCharm config, port 8001 security
2026-04-29 10:19:31 +02:00
Oliver Hofmann
f22bad6496
Clarify Docker port binding and SSH tunnel for admin access
...
Use 127.0.0.1:8001:8001 to bind admin port locally only.
Explain Docker's 0.0.0.0 vs 127.0.0.1 distinction and add
SSH tunnel diagram showing how admin UI is accessed remotely.
2026-04-28 08:52:26 +02:00
Oliver Hofmann
ff5c88ecfd
Remove admin port binding from docker run example
...
Port 8001 should not be exposed to the host directly.
Add nginx reverse proxy and SSH tunnel examples instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 08:41:18 +02:00
Oliver Hofmann
317c7f0340
Add Docker production build and update README
...
- Multi-stage Dockerfile: builds frontend, packages with Python backend
- admin.py serves frontend/dist as StaticFiles in production
- docker-entrypoint.sh runs proxy + admin-api, exits cleanly if either dies
- .dockerignore excludes .env, venv, tests, node_modules
- Split requirements.txt (prod) / requirements-dev.txt (dev+test)
- aiofiles added for StaticFiles support
- start.sh: port checks before startup, venv auto-activation, trap cleanup
- vite.config.js: clearScreen disabled
- README rewritten to reflect current architecture
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 08:34:45 +02:00
Oliver Hofmann
cfa874a4c3
Fix medium/low priority review items; update README
...
Medium:
- Frontend: Error-Handling in fetchUsers/fetchApiKeys (try/catch)
- Frontend: Loading-Race behoben (Promise.all + .finally)
- Frontend: API-Keys maskiert (nur letzte 4 Zeichen sichtbar)
- Tests: Setup-Code aus test_auth.py in conftest.py konsolidiert
- Tests: Fixture-Scope vereinheitlicht (function statt session)
Low:
- bare except in database.py → except Exception
- datetime.utcnow → datetime.now(timezone.utc) durchgängig
- DateTime(timezone=True) in allen Modell-Spalten
- .gitignore hinzugefügt (.env, *.db, __pycache__, .idea, node_modules)
Docs:
- README aktualisiert (Sicherheit, Konfiguration, Projektstruktur, Tests)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 21:48:26 +02:00
Oliver Hofmann
562f6ecd9c
Init
2026-04-27 18:54:27 +02:00