Self-hosted Docker deployment serves both API and panel with no inbound authentication
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, postgresql, python
- Ambito
- authentication, backend-api-design, security
Direzione di ricerca
Start by reading the deployment configuration and API and panel authentication entry points; the issue names Docker deployment, ports 8888 and 9999, and the /openapi.json, /health, and /api/banks routes. Decide how inbound authentication should work across both services and what configuration it needs. Done means a supported authentication method protects the relevant routes, with documented multi-host deployment guidance and tests for requests with and without credentials.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What I'm running
- Image:
images.hindsight.ai/hindsight:latest(v1.3.0, built 2026-11-24) - Deployment: Docker,
network_mode=host, embedded PostgreSQL under/home/hindsight/.pg0 - Purpose: local agent memory for a self-hosted assistant on a personal VPS (single machine today)
What I observed
Both the data-plane API and the control panel appear to serve requests without any credentials:
| Check | Result |
|---|---|
GET /openapi.json → components.securitySchemes |
{} (empty) |
GET /health without credentials (API port 8888) |
200 |
GET /api/banks without credentials (panel port 9999) |
200 — returns bank names |
| Bind address for both ports | 0.0.0.0 inside the container |
Why this matters to me
I'm evaluating a multi-machine setup where several agents on different hosts would share one Hindsight server. Today it is safe purely because the ports are never exposed — the host firewall drops them from outside. That assumption stops holding the moment the API has to be reachable from another machine: "no inbound auth + firewall" silently becomes "anyone who reaches the port can read and write every bank".
I'd rather solve this at the application layer than wrap the whole thing in a proxy that has to guess which routes need protecting.
Questions
- Is there a supported way to require inbound authentication for a self-hosted deployment — a Bearer token, a tenant API key, mTLS, or an admin/operator credential?
securitySchemesbeing empty suggests the API itself does not implement inbound auth, but I may be missing a supported configuration. - If it does not exist yet, what is the recommended deployment pattern for multi-host access? Reverse proxy terminating auth in front, one SSH tunnel per client, or something else?
- Is inbound authentication on the roadmap?
Happy to test a branch, run a probe against a specific build, or share more detail about the environment.
- Lingua principale
- Python
- Stelle
- 45.2k
- Fork
- 5.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di vectorize-io/hindsight
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineApertacore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
vectorize-io/hindsight#7240 · 1 commento ·
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
vectorize-io/hindsight#7231 ·
-
Flaky system test: test_embedding_and_rerank_calls_are_in_request_history raises StopIterationApertacore
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
vectorize-io/hindsight#7228 · 1 commento ·
Tutte le issue di vectorize-io/hindsight
Issue simili
-
Test: to_hijri() accepts datetime.datetime and uses only the date partForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertagood first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresForse già presa @AshutoshSingh840 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
UKGovernmentBEIS/control-arena#992 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
mvalentsev/awesome-free-ai-coding#70 ·
I maintainer di solito rispondono entro 1 giorno