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_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"]