-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 1.39 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (47 loc) · 1.39 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
41
42
43
44
45
46
47
48
49
services:
ppatch-partner:
build:
context: .
image: ppatch-partner:local
working_dir: /workspace
stdin_open: true
tty: true
privileged: true
environment:
PYTHONPATH: /workspace/src
WORKSPACE_ROOT: /workspace
LINUX_SOURCE: /workspace/linux_source
PATCH_DIR: /workspace/patches
PPATCH_OUTPUT: /workspace/ppatch_log
WORK_DIR_PATH: /workspace/exps
CONFIG_DEFAULT: /workspace/configs/x86_64_common_config
SCRIPTS_PATH: /workspace/src/scripts
POC_DIR: /workspace/pocs
IMAGE_PATH: /workspace/images
SYZKALLER_PATH: /workspace/syzkaller/syzkaller
SYZKALLER_IMAGE: /workspace/images/bullseye.img
SYZKALLER_SSH_KEY: /workspace/images/bullseye.id_rsa
POSTGRESQL_URL: postgresql://ppatch:ppatch@postgres:5432/
POSTGRESQL_DATABASE: ppatch_partner
GCC_VERSION: gcc
volumes:
- .:/workspace
depends_on:
postgres:
condition: service_healthy
command: ["python", "-m", "ppatch_partner", "--help"]
postgres:
image: postgres:16
environment:
POSTGRES_DB: ppatch_partner
POSTGRES_USER: ppatch
POSTGRES_PASSWORD: ppatch
volumes:
- ppatch-postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ppatch -d ppatch_partner"]
interval: 5s
timeout: 5s
retries: 10
volumes:
ppatch-postgres: