mirror of
https://github.com/mcloh/codex-chatgpt-mcp-proxy.git
synced 2026-11-05 21:34:11 +00:00
Implement durable OAuth MCP bridge with local Codex worker and deployment guides
This commit is contained in:
19
deploy/codex-bridge-worker.service.example
Normal file
19
deploy/codex-bridge-worker.service.example
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Codex outbound MCP bridge worker
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/absolute/path/to/repository
|
||||
EnvironmentFile=/absolute/path/to/private/worker.env
|
||||
ExecStart=/absolute/path/to/repository/.venv/bin/codex-bridge worker
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
TimeoutStopSec=45
|
||||
UMask=0077
|
||||
# Do not add NoNewPrivileges here without testing: it can interfere with Codex's sandbox.
|
||||
# This is a user unit. All approval decisions remain local.
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user