forked from openai/codex-security
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
40 lines (40 loc) · 1.02 KB
/
Copy pathcompose.yaml
File metadata and controls
40 lines (40 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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