Local stack: services listen on all network interfaces with default passwords, and container logs have no size limit

Aperta
#239 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker-compose, python

Direzione di ricerca

Start by reading docker-compose.yml and the local stack setup in docs/backend.md; use docker compose config to inspect published ports and service logging settings. Check how the runtime images are built and how the suggested LAN overlay or profile would fit the existing setup. Done when the config binds published ports to 127.0.0.1 and caps logs for every service, with the requested runtime build path and disk space guidance.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement ready

Found in the 2026-11-29 whole-repo review. Reported by a reviewer from docker-compose.yml.

Problem

  • Ports are published as e.g. "5433:5432", which binds every interface: the database (password password), the catalog's write API (no auth), the identity provider's admin console (admin), the object store (default keys). On shared Wi-Fi these are reachable by others on the network.
  • No logging: limits and no memory limits anywhere, so container logs grow until the disk is full (consistent with the earlier disk-full incident).
  • docker compose up does not build the images that run user code; they need a separate build command, which is the known "graph but no items" trap.

Separate from #202.

Suggested fix

Bind to 127.0.0.1: by default with an opt-in overlay for LAN access; a shared logging block (max-size, max-file) and memory limits; a profile or build target for the runtime images; a short "freeing disk space" section in docs/backend.md.

Acceptance criteria

  • docker compose config shows every published port on 127.0.0.1 and a log size cap on every service
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.