-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (73 loc) · 1.56 KB
/
docker-compose.yml
File metadata and controls
77 lines (73 loc) · 1.56 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
services:
crawler:
build:
context: ./rigour
dockerfile: Dockerfile.crawler
container_name: rigour-crawler
depends_on:
kafka:
condition: service_healthy
command:
- "${CRAWLER_CIDR:-0.0.0.0/0}"
- "--kafka-brokers"
- "kafka:9092"
- "--top-ports"
- "${CRAWLER_DISCOVERY_TOP_PORTS:-1000}"
networks:
- rigour-network
restart: unless-stopped
persistence:
build:
context: ./rigour
dockerfile: Dockerfile.persistence
container_name: rigour-persistence
depends_on:
kafka:
condition: service_healthy
mongo:
condition: service_started
geoipupdate:
condition: service_healthy
command:
- "--brokers"
- "kafka:9092"
- "--mongo-uri"
- "mongodb://mongo:27017"
- "--geoip-path"
- "/data/geoip"
volumes:
- geoipupdate_data:/data/geoip
networks:
- rigour-network
restart: unless-stopped
api:
build:
context: ./rigour
dockerfile: Dockerfile.api
container_name: rigour-api
ports:
- "8080:8080"
command:
- "--mongo-uri"
- "mongodb://mongo:27017"
depends_on:
- mongo
networks:
- rigour-network
restart: unless-stopped
ui:
build:
context: ./rigour-ui
container_name: rigour-ui
depends_on:
- api
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_BASE_URL=http://api:8080
networks:
- rigour-network
restart: unless-stopped
networks:
rigour-network:
driver: bridge