-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker_demo.yml
52 lines (52 loc) · 1.04 KB
/
docker_demo.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
version: '3'
services:
scanner:
image: zj1244/beholder_scanner:latest
container_name: beholder_scanner
restart: always
environment:
REDIS_IP: redis
REDIS_PORT: 6379
REDIS_PWD: ""
MONGO_IP: mongo
MONGO_PORT: 27017
MONGO_USER: ""
MONGO_PWD: ""
SCAN_TIMEOUT: 300
VULSCAN_KEY: ""
depends_on:
- redis
- mongo
web:
image: zj1244/beholder_web:latest
container_name: beholder_web
ports:
- "8000:8000"
restart: always
environment:
ACCOUNT: "admin"
PASSWORD: "admin"
REDIS_IP: redis
REDIS_PORT: 6379
REDIS_PWD: ""
MONGO_IP: mongo
MONGO_PORT: 27017
MONGO_USER: ""
MONGO_PWD: ""
depends_on:
- redis
- mongo
redis:
image: redis:5.0.3
container_name: beholder_redis
restart: always
expose:
- "6379"
mongo:
image: mongo:3.6.15-xenial
container_name: beholder_mongo
restart: always
volumes:
- "/mongodb/db:/data/db"
expose:
- "27017"