-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.demo.yml
More file actions
54 lines (49 loc) · 1.53 KB
/
Copy pathcompose.demo.yml
File metadata and controls
54 lines (49 loc) · 1.53 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
50
51
52
53
54
services:
api:
environment:
BOUNDEDSCAN_DEMO_MODE: "true"
BOUNDEDSCAN_AUTH_ENABLED: "true"
BOUNDEDSCAN_BOOTSTRAP_ADMIN_EMAIL: demo@boundedscan.local
BOUNDEDSCAN_BOOTSTRAP_ADMIN_PASSWORD: boundedscan-demo-2026!
BOUNDEDSCAN_INTEL_OFFLINE: "true"
networks: [control, scan]
worker:
environment:
BOUNDEDSCAN_DEMO_MODE: "true"
BOUNDEDSCAN_INTEL_OFFLINE: "true"
depends_on:
demo-web: {condition: service_healthy}
juice-shop: {condition: service_started}
demo-web:
build:
context: .
dockerfile: infra/docker/Dockerfile.demo-web
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/health')"]
interval: 5s
timeout: 3s
retries: 10
networks: [scan]
juice-shop:
image: bkimminich/juice-shop:v20.1.1@sha256:cd58d79c5cb4d82f22fbaf616f9ff43bbd04ba630cd6b448a9ed99cf652fcebf
networks: [scan]
demo-preview:
image: nginxinc/nginx-unprivileged:1.27-alpine
environment:
NGINX_ENTRYPOINT_QUIET_LOGS: "1"
volumes:
- ./infra/docker/nginx.demo.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "127.0.0.1:8089:8088"
- "127.0.0.1:3000:3000"
depends_on:
demo-web: {condition: service_healthy}
juice-shop: {condition: service_started}
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://127.0.0.1:8088/health"]
interval: 10s
timeout: 3s
retries: 10
networks: [scan, preview]
networks:
preview: