mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-23 05:53:55 -04:00
21 lines
940 B
YAML
21 lines
940 B
YAML
version: "3"
|
|
services:
|
|
upsnap:
|
|
image: ghcr.io/seriousm4x/upsnap:3
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/app/pb_data
|
|
healthcheck:
|
|
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 3
|
|
# environment:
|
|
# - TZ=Europe/Berlin # Set container timezone for cron schedules
|
|
# - UPSNAP_INTERVAL=@every 10s # Sets the interval in which the devices are pinged
|
|
# - UPSNAP_SCAN_RANGE=192.168.1.0/24 # Scan range is used for device discovery on local network
|
|
# - UPSNAP_WEBSITE_TITLE=Custom name # Custom website title
|
|
# # you can change the listen ip:port inside the container or install custom packages for shutdown via a custom entrypoint
|
|
# entrypoint: /bin/sh -c "apk update && apk add --no-cache ipmitool && rm -rf /var/cache/apk/* && ./upsnap serve --http 0.0.0.0:8090"
|