mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-22 21:43:42 -04:00
19 lines
770 B
YAML
19 lines
770 B
YAML
version: "3"
|
|
services:
|
|
upsnap:
|
|
image: ghcr.io/seriousm4x/upsnap:3
|
|
network_mode: host
|
|
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
|
|
# command: ["./upsnap", "serve", "--http", "0.0.0.0:8090"] # Uncomment this if you want to change the port for example
|