Self-hosted Docker deployment serves both API and panel with no inbound authentication
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, postgresql, python
- Domain
- authentication, backend-api-design, security
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 45.2k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vectorize-io/hindsight
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineOpencore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vectorize-io/hindsight#7240 · 1 comment ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
vectorize-io/hindsight#7231 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
vectorize-io/hindsight#7228 · 1 comment ·
All issues in vectorize-io/hindsight
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day