forked from vulnerability-lookup/vulnerability-lookup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 1.31 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
---
name: Vulnerability-lookup docker compose
services:
valkey_cache:
image: valkey/valkey:latest
container_name: valkey_cache
working_dir: /cache
command: valkey-server --daemonize no --requirepass ${CACHE_PASSWORD} --port ${CACHE_PORT}
volumes:
- ./cache:/cache
kvrocks_master:
image: apache/kvrocks:latest
container_name: kvrocks_master
ports:
- "10002:10002"
volumes:
- ./storage:/kvrocks/conf:rw
command: ["--daemonize", "no", "--bind", "0.0.0.0", "--config", "/kvrocks/conf/kvrocks.conf"]
db:
image: postgres:13
container_name: db
environment:
POSTGRES_DB: ${POSTGRES_DATABASE}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql/data
vulnerability_lookup:
build:
context: .
args:
STORAGE_HOSTNAME: ${STORAGE_HOSTNAME}
STORAGE_PORT: ${STORAGE_PORT}
INSTANCE_NAME: ${INSTANCE_NAME}
INSTANCE_UUID: ${INSTANCE_UUID}
CSAF_PATH: ${CSAF_PATH}
POSTGRES_HOSTNAME: ${POSTGRES_HOSTNAME}
POSTGRES_DATABASE: ${POSTGRES_DATABASE}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
env_file:
- .env
ports:
- "10001:10001"
depends_on:
- kvrocks_master
- valkey_cache
- db
volumes:
postgres_data: