35 lines
777 B
YAML
35 lines
777 B
YAML
version: '3.3'
|
|
services:
|
|
nmap:
|
|
image: instrumentisto/nmap
|
|
container_name: nmap
|
|
command: -sT -A -T3 -oX tmp/myscan.xml 192.168.2.0/24
|
|
cap_add:
|
|
- NET_ADMIN
|
|
volumes:
|
|
- ./webmap:/tmp
|
|
network_mode: host
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=100
|
|
|
|
|
|
webmap:
|
|
container_name: webmap
|
|
hostname: webmap
|
|
ports:
|
|
- '8001:8000'
|
|
volumes:
|
|
- ./webmap:/opt/xml
|
|
image: reborntc/webmap
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=100
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|