feat(upsnap): add blueprint for Upsnap network monitor (#475)

- Add docker-compose.yml for containerized deployment with health checks and environment variables
- Include template.toml with configuration variables, domain settings, and mount points
- Add upsnap.svg icon for the service visualization

This commit introduces a complete blueprint to simplify deployment of the Upsnap network monitoring tool using Docker.
This commit is contained in:
Jainil Prajapati
2025-10-25 13:23:17 +05:30
committed by GitHub
parent 0d8c2cb7b8
commit a3453ed2d7
4 changed files with 179 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
services:
upsnap:
image: ghcr.io/seriousm4x/upsnap:5
restart: unless-stopped
expose:
- 8090
volumes:
- upsnap-data:/app/pb_data
environment:
- TZ=${TZ}
- UPSNAP_INTERVAL=${UPSNAP_INTERVAL}
- UPSNAP_SCAN_RANGE=${UPSNAP_SCAN_RANGE}
- UPSNAP_SCAN_TIMEOUT=${UPSNAP_SCAN_TIMEOUT}
- UPSNAP_PING_PRIVILEGED=${UPSNAP_PING_PRIVILEGED}
- UPSNAP_WEBSITE_TITLE=${UPSNAP_WEBSITE_TITLE}
healthcheck:
test: ["CMD", "curl", "-fs", "http://localhost:8090/api/health"]
interval: 10s
timeout: 3s
retries: 3
volumes:
upsnap-data:
driver: local

View File

@@ -0,0 +1,23 @@
[variables]
main_domain = "${domain}"
upsnap_password = "${password:32}"
[config]
[[config.domains]]
serviceName = "upsnap"
port = 8090
host = "${main_domain}"
path = "/"
[config.env]
TZ = "Europe/Berlin"
UPSNAP_INTERVAL = "*/10 * * * * *"
UPSNAP_SCAN_RANGE = "192.168.1.0/24"
UPSNAP_SCAN_TIMEOUT = "500ms"
UPSNAP_PING_PRIVILEGED = "true"
UPSNAP_WEBSITE_TITLE = "Upsnap Network Monitor"
[[config.mounts]]
source = "upsnap-data"
target = "/app/pb_data"

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -5126,6 +5126,24 @@
"networking"
]
},
{
"id": "upsnap",
"name": "Upsnap",
"version": "5",
"description": "Upsnap is a simple network device monitor and dashboard built on PocketBase.",
"logo": "upsnap.svg",
"links": {
"github": "https://github.com/seriousm4x/upsnap",
"website": "https://github.com/seriousm4x/upsnap",
"docs": "https://github.com/seriousm4x/upsnap#readme"
},
"tags": [
"network",
"monitoring",
"dashboard",
"self-hosted"
]
},
{
"id": "uptime-kuma",
"name": "Uptime Kuma",