Skip to content

allow overwrite --tmpfs for docker container via env var #37

Description

@aersam
No description provided.

Activity

  1. aersam commented on Sep 22, 2026

    @aersam
    ContributorAuthor
  2. added a commit that references this issue on Sep 22, 2026
    5e66269
  3. aersam commented on Sep 22, 2026

    @aersam
    ContributorAuthor

    Implemented in PR #38 (now ready for review, CI passing).

    Added Docker-level resource overrides for both the Postgres and MSSQL testdb containers, all optional and defaulting to Docker/Podman's own behavior when unset:

    • PGDEVKIT_TESTDB_TMPFS / PGDEVKIT_TESTDB_MSSQL_TMPFS — docker-CLI --tmpfs syntax, semicolon-separated for multiple mounts
    • PGDEVKIT_TESTDB_SHM_SIZE / PGDEVKIT_TESTDB_MSSQL_SHM_SIZE
    • PGDEVKIT_TESTDB_MEM_LIMIT / PGDEVKIT_TESTDB_MSSQL_MEM_LIMIT
    • PGDEVKIT_TESTDB_CPUS / PGDEVKIT_TESTDB_MSSQL_CPUS
    • PGDEVKIT_TESTDB_IMAGE — also added, brings Postgres in line with MSSQL's existing image override

    Also bumped the version to 0.8.0. Note these only take effect when pgdevkit actually creates the container (not when restarting an existing stopped one) — documented in the README.

    PR: #38

    Claude Session: https://claude.ai/code/session_01HhMAd9QaUnmduHbXQsARQG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions