Added upsnap
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
version: "3"
|
||||
services:
|
||||
upsnap:
|
||||
container_name: upsnap
|
||||
image: ghcr.io/seriousm4x/upsnap:4
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /data:/app/pb_data
|
||||
environment:
|
||||
- TZ=Europe/Lisbon # Set container timezone for cron schedules
|
||||
- UPSNAP_INTERVAL=@every 2h # Sets the interval in which the devices are pinged
|
||||
- UPSNAP_SCAN_RANGE=10.0.0.0/21 # Scan range is used for device discovery on local network
|
||||
- UPSNAP_WEBSITE_TITLE=Lino Silva # Custom website title
|
||||
# dns is used for name resolution during network scan
|
||||
dns:
|
||||
- 10.0.2.11
|
||||
- 10.0.2.12
|
||||
- 10.0.2.13
|
||||
healthcheck:
|
||||
test: curl -fs "http://localhost:5000/api/health" || exit 1
|
||||
interval: 10s
|
||||
Reference in New Issue
Block a user