forked from guacsec/guac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
95 lines (87 loc) · 2.11 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: "3.9"
services:
nats:
networks: [frontend]
image: "docker.io/library/nats:2.9.17-alpine"
command: "--config /config/nats/js.conf -m 8222"
ports:
- "4222:4222"
# monitoring port
- "8222:8222"
volumes:
- ./container_files/nats:/config/nats:z
restart: on-failure
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:8222/healthz"]
interval: 10s
timeout: 10s
retries: 3
start_period: 5s
guac-collectsub:
networks: [frontend]
image: $GUAC_IMAGE
command: "/opt/guac/guaccsub"
working_dir: /guac
restart: on-failure
ports:
- "2782:2782"
depends_on:
nats:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:2782"]
interval: 10s
timeout: 10s
retries: 3
start_period: 5s
guac-ingestor:
networks: [frontend]
image: $GUAC_IMAGE
command: "/opt/guac/guacingest"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
oci-collector:
networks: [frontend]
image: $GUAC_IMAGE
command: "/opt/guac/guaccollect image"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
depsdev-collector:
networks: [frontend]
image: $GUAC_IMAGE
command: "/opt/guac/guaccollect deps_dev"
working_dir: /guac
restart: on-failure
environment:
- DEPS_DEV_APIKEY
depends_on:
guac-collectsub:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
osv-certifier:
networks: [frontend]
image: $GUAC_IMAGE
command: "/opt/guac/guacone certifier osv"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
networks:
frontend:
driver: bridge