mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-08-01 01:48:39 -04:00
Update docker-compose.yml (#1721)
Add note about nmap Remove alternate entrypoint for adding packages (breaks functionality)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
upsnap:
|
||||
cap_add:
|
||||
- NET_RAW # NET_RAW is required for privileged ping
|
||||
- NET_RAW # NET_RAW is required for privileged ping and network device scan (nmap)
|
||||
cap_drop:
|
||||
- ALL
|
||||
container_name: upsnap
|
||||
@@ -28,5 +28,3 @@ services:
|
||||
# dns:
|
||||
# - 192.18.0.1
|
||||
# - 192.18.0.2
|
||||
# # or install custom packages for shutdown
|
||||
# entrypoint: /bin/sh -c "apk update && apk add --no-cache <YOUR_PACKAGE> && rm -rf /var/cache/apk/* && ./upsnap serve"
|
||||
|
||||
Reference in New Issue
Block a user