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

Open
#239 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
docker-compose, python

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
Python
Stars
0
Forks
2
Avg merge
8h 26m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TechTraverse/stac-higher

All issues in TechTraverse/stac-higher

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.