mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1133] [MERGED] feat(claude-subscription): pass OAuth env through refactor Docker compose #4936
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4936
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1133
Author: @aeriondyseti
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @cha1latte
Base:
refactor← Head:feat/claude-subscription-env-discoverability📝 Commits (2)
af3f2e5feat(claude-subscription): surface CLAUDE_CODE_OAUTH_TOKEN in .env.example and docker-composefcbccd1Merge refactor base for Claude subscription env📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
docker-compose.yml(+6 -0)📄 Description
Linked issue
Closes #1134.
Why this change
claude_subscription) can use a long-lived OAuth token viaCLAUDE_CODE_OAUTH_TOKEN..envstill would not get it insidemarinara-server..env.exampleno longer exists, so this version carries the Docker passthrough only.What changed
docker-compose.yml: addCLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}to themarinara-serverservice environment.docker-compose.yml: addCLAUDE_CONFIG_DIR=${CLAUDE_CONFIG_DIR:-/data/claude-config}so the Claude CLI config/session path defaults inside the mounted/datavolume.This keeps the change no-op for users who do not set the token while making shell env and compose env-file values available to the refactor Docker service.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Codex verified on the refactor-targeted branch:
pnpm checkpasses.docker compose configrenders the default empty token and/data/claude-configconfig path.docker compose configwith shell env propagatesCLAUDE_CODE_OAUTH_TOKEN.docker compose --env-filepropagates bothCLAUDE_CODE_OAUTH_TOKENand a customCLAUDE_CONFIG_DIR.Suggested manual checks before merge:
.env: setCLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...,docker compose up --build, confirm the container env includes it, then test a Claude Subscription connection in the UI.export CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-..., same compose and UI checks.docker compose up --buildshould still start normally.Docs and release impact
No version or release metadata changes.
UI evidence (if applicable)
No UI changes - Docker config only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.