forked from guacsec/guac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
125 lines (117 loc) · 3.01 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: "3"
services:
# Neo4j is turned down for now since we are currently only using the in memory backend
# neo4j:
# image: "neo4j:4.4.9-community"
# environment:
# NEO4J_AUTH: "neo4j/s3cr3t"
# NEO4J_apoc_export_file_enabled: true
# NEO4J_apoc_import_file_enabled: true
# NEO4J_apoc_import_file_use__neo4j__config: true
# NEO4JLABS_PLUGINS: '["apoc"]'
# ports:
# - "7474:7474"
# - "7687:7687"
# restart: on-failure
nats:
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:
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-graphql:
image: $GUAC_IMAGE
command: "/opt/guac/guacgql"
working_dir: /guac
restart: on-failure
depends_on:
nats:
condition: service_healthy
ports:
- "$GUAC_API_PORT:8080"
volumes:
- ./container_files/guac:/guac:z
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:8080"]
interval: 10s
timeout: 10s
retries: 3
start_period: 5s
guac-ingestor:
image: $GUAC_IMAGE
command: "/opt/guac/guacingest"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
guac-graphql:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
oci-collector:
image: $GUAC_IMAGE
command: "/opt/guac/guaccollect image"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
guac-graphql:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
depsdev-collector:
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
guac-graphql:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z
osv-certifier:
image: $GUAC_IMAGE
command: "/opt/guac/guacone certifier osv"
working_dir: /guac
restart: on-failure
depends_on:
guac-collectsub:
condition: service_healthy
guac-graphql:
condition: service_healthy
volumes:
- ./container_files/guac:/guac:z