forked from ciscocsirt/dhp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (42 loc) · 952 Bytes
/
docker-compose.yaml
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
version: '3.1'
services:
mongo:
image: collector_mongo
restart: always
build:
context: .
dockerfile: ./dockerfiles/mongodb
env_file:
- ./env
volumes:
- /opt/data/mongo:/data/db
# - ./ssl/mongodb.pem:/data/ssl/mongodb.pem
# - ./ssl/mongodb_ca.crt:/data/ssl/mongodb-cert.crt
ports:
- 27127:27017
command:
--tlsMode=requireTLS
--tlsCertificateKeyFile=/data/ssl/mongodb.pem
--tlsCAFile=/data/ssl/mongodb-cert.crt
--tlsAllowConnectionsWithoutCertificates
collector:
image: collector
restart: always
build:
context: .
dockerfile: ./dockerfiles/collector
ports:
- 5000:5000
dockerhp:
image: dockerhp
restart: always
build:
context: .
dockerfile: ./dockerfiles/dockerhp
ports:
- 61023:61023
- 2375:2375
- 2376:2376
- 2377:2377
- 4243:4243
- 4244:4244