Files
DeepTutor/compose.codex-oauth.yaml
Geonwoo Jeong d824a7f9f1 fix(codex-auth): make the local container OAuth bridge temporary (#743)
Codex redirects the browser to fixed loopback ports 1455/1457, which the container network does not share with the host. Publishing them permanently would hold those ports hostage from every other Codex client, so they move into an opt-in compose.codex-oauth.yaml overlay applied only while signing in.

docker-compose.ghcr.yml now mounts the whole ./data tree like the other manifests. Its previous three-subtree mount left data/system — the JWT signing secret, accounts, grants, per-owner Codex tokens — in the container's writable layer, where a recreate discarded it. Upgrading an existing GHCR deployment needs a one-time copy out of the running container; CONTAINERIZATION.md documents the exact commands.
2026-08-03 20:50:55 +08:00

10 lines
379 B
YAML

# Temporary local OpenAI Codex OAuth callback bridge.
#
# Apply this overlay only while signing in, then recreate the service from its
# base Compose file so ports 1455 and 1457 are returned to other Codex clients.
services:
deeptutor:
ports:
- "127.0.0.1:1455:${DEEPTUTOR_DOCKER_FRONTEND_PORT:-3782}"
- "127.0.0.1:1457:${DEEPTUTOR_DOCKER_FRONTEND_PORT:-3782}"