Added upsnap

This commit is contained in:
Lino Silva
2023-09-05 16:37:31 +01:00
parent fd32f290af
commit f53ad0b32f
13 changed files with 227 additions and 16 deletions
@@ -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