Files
codex-security/compose.yaml
T
ianw-oai 10e7a22461 chore(codex-security): sync public projection
- [codex-security] prevent untrusted pre-commit hook execut...
  (And 4 more changes)

GitOrigin-Timestamp=2026-07-27T10:45:08-07:00
GitOrigin-RevId: 23c8e48a18db9283b3fc1335bf40ea63402400c6
2026-07-27 18:00:36 +00:00

41 lines
1.0 KiB
YAML

services:
codex-security:
image: ${CODEX_SECURITY_IMAGE:-codex-security:local}
build:
context: .
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_GIT_HOST:
GH_TOKEN:
GITHUB_TOKEN:
OPENAI_API_KEY:
volumes:
- type: bind
source: ${CODEX_SECURITY_CSV:-./repositories.csv}
target: /input/repositories.csv
read_only: true
bind:
create_host_path: false
- 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:
- bulk-scan
- /input/repositories.csv
- --output-dir
- /output