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

Đang mở
#239 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker-compose, python

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
0
Fork
2
Merge trung bình
8 giờ 26 phút
Pull request đã merge (30 ngày)
47

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TechTraverse/stac-higher

Tất cả issue của TechTraverse/stac-higher

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.