-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (34 loc) · 925 Bytes
/
docker-compose.yaml
File metadata and controls
37 lines (34 loc) · 925 Bytes
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
version: '3.8'
services:
mongodb:
image: mongo:latest
container_name: mongodb
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
continuous-infra-scanner:
build:
context: ./continuous-infra-scanner
dockerfile: Dockerfile
container_name: continuous-infra-scanner
depends_on:
- mongodb
environment:
CONSOLE_USERNAME: ${CONSOLE_USERNAME}
CONSOLE_PASSWORD: ${CONSOLE_PASSWORD}
MONGO_URI: ${MONGO_URI}
NESSUS_HOSTNAME: ${NESSUS_HOSTNAME}
NESSUS_USERNAME: ${NESSUS_USERNAME}
NESSUS_PASSWORD: ${NESSUS_PASSWORD}
WEBHOOK_URL: ${WEBHOOK_URL}
ports:
- "8180:8180"
volumes:
- ./continuous-infra-scanner:/usr/src/app
volumes:
mongo-data:
driver: local