mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 06:19:43 +08:00
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.
10 lines
379 B
YAML
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}"
|