Enhance README.md with detailed service descriptions and port matrix for Docker services in the home lab environment.
This commit is contained in:
34
webmap/compose.yaml
Normal file
34
webmap/compose.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user