mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
- 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.
25 lines
629 B
YAML
25 lines
629 B
YAML
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
|