Skip to content

feat: improve DNS discovery, DB volumes, and CLI checks#43

Merged
Rhevin merged 1 commit into
masterfrom
feat/dns-ps-db-version
Jun 11, 2026
Merged

feat: improve DNS discovery, DB volumes, and CLI checks#43
Rhevin merged 1 commit into
masterfrom
feat/dns-ps-db-version

Conversation

@Rhevin

@Rhevin Rhevin commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Show container IPv4 addresses in ps (parsed from status.networks in container 1.0.0 JSON)
  • Inject a generated /etc/hosts bind-mount at up time so containers can resolve already-running peer services by name (plus compose extra_hosts)
  • Auto-set PGDATA=/tmp/pgdata for Postgres images with named data volumes (virtiofs chown workaround); warn for MySQL/MariaDB with copy-paste tmpfs fix
  • Warn once on startup if container CLI is pre-1.0.0 or returns legacy string status JSON

Test plan

  • make test passes
  • make test-integration passes (if touching runtime code)
  • make lint passes
  • make fmt run — no formatting issues
  • Dry-run verified: ./apple-compose -f testdata/docker-compose.yml up --dry-run

Made with Cursor

Inject /etc/hosts for peer services at up time, show container IPs in ps,
auto-set PGDATA for postgres virtiofs volumes, and warn on old container CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Rhevin Rhevin merged commit 9d39b90 into master Jun 11, 2026
5 checks passed
@Rhevin Rhevin deleted the feat/dns-ps-db-version branch June 11, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant