Skip to content

Split config and session state directories via env var to enable RO Docker mount of ~/.codex #8659

@ardigan6

Description

@ardigan6

What feature would you like to see?

Currently, CODEX_HOME stores both configs and session state.

What we want is to mount CODEX_HOME read-only in our docker dev env, and tell codex to write state to SESSION_HOME set to /tmp.

Instead, the most obvious answer is to copy files into the container on build, which is both bad practice and less flexible.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions