-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 1.32 KB
/
docker-compose.yml
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
50
51
52
53
54
version: '3'
services:
juice-shop:
image: bkimminich/juice-shop
#build:
# dockerfile: Dockerfile
# context: ./juice-shop
ports:
- '3000:3000'
nginx-reverse-proxy:
container_name: cp-appsec-nginx-reverse-proxy
build:
dockerfile: Dockerfile
context: ./nginx-reverse-proxy
args:
NGINX_SERVER_FQDN:
ports:
- '80:80'
ipc: shareable
#image: checkpoint/infinity-next-nginx
#volumes:
# - ./nginx-reverse-proxy/default:/etc/nginx/conf.d/default.conf
agent-container:
container_name: cp-appsec-agent-container
ipc: "container:cp-appsec-nginx-reverse-proxy"
volumes:
- ./agent-container/data:/etc/cp/data
- ./agent-container/conf:/etc/cp/conf
- ./agent-container/logs:/var/log/nano_agent
#build:
# dockerfile: Dockerfile
#context: ./agent-container
#image: checkpoint/infinity-next-nano-agent:412743
image: checkpoint/infinity-next-nano-agent
depends_on:
- nginx-reverse-proxy
command: ["/cp-nano-agent", "--token", "$TOKEN"]
hostname: appsec-lab
test-host:
container_name: cp-appsec-tester
stdin_open: true
tty: true
build:
dockerfile: Dockerfile
context: ./tester
volumes:
- ./tester/data:/home/web-scraper/data
hostname: tester