forked from c0rv4x/project-black
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (89 loc) · 2 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
version: '2.1'
services:
rabbit:
build: docker/rabbitmq/.
container_name: black_rabbit
ports:
- "127.0.0.1:15672:15672"
- "127.0.0.1:5672:5672"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15672"]
interval: 3s
timeout: 5s
retries: 20
postgres:
build: docker/postgres/.
container_name: black_postgres
environment:
- POSTGRES_USER=black
- POSTGRES_PASSWORD=black101
- POSTGRES_DB=black
ports:
- "127.0.0.1:5432:5433"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 3s
timeout: 5s
retries: 20
black_masscan:
build:
context: .
dockerfile: docker/masscan.yml
container_name: black_masscan
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy
black_nmap:
build:
context: .
dockerfile: docker/nmap.yml
container_name: black_nmap
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy
black_dirsearch:
build:
context: .
dockerfile: docker/dirsearch.yml
container_name: black_dirsearch
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy
black_amass:
build:
context: .
dockerfile: docker/amass.yml
container_name: black_amass
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy
black_patator:
build:
context: .
dockerfile: docker/patator.yml
container_name: black_patator
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy
black:
image: black
build:
context: .
dockerfile: docker/black.yml
ports:
- 5000:5000
depends_on:
rabbit:
condition: service_healthy
postgres:
condition: service_healthy