mirror of
https://github.com/openai/codex-security.git
synced 2026-11-23 19:40:55 +08:00
BREAKING CHANGE: Set CODEX_SECURITY_ENABLE_EXTERNAL_IMPORTS=1 to use external import and publication workflows.
31 lines
847 B
YAML
31 lines
847 B
YAML
services:
|
|
codex-security:
|
|
image: ${CODEX_SECURITY_IMAGE:-ghcr.io/openai/codex-security:latest}
|
|
init: true
|
|
user: ${CODEX_SECURITY_USER:-10001:10001}
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
- seccomp=${CODEX_SECURITY_SECCOMP:-./docker/codex-security-seccomp.json}
|
|
environment:
|
|
CODEX_API_KEY:
|
|
CODEX_SECURITY_EMBEDDINGS_URL:
|
|
CODEX_SECURITY_ENABLE_EXTERNAL_IMPORTS:
|
|
CODEX_SECURITY_GIT_HOST:
|
|
GH_TOKEN:
|
|
GITHUB_TOKEN:
|
|
OPENAI_API_KEY:
|
|
volumes:
|
|
- type: bind
|
|
source: ${CODEX_SECURITY_RESULTS:-./results}
|
|
target: /output
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${CODEX_SECURITY_STATE:-./state}
|
|
target: /state
|
|
bind:
|
|
create_host_path: false
|
|
command: ["--help"]
|