diff --git a/README.md b/README.md index 156e2ba..c491054 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ docker compose up ### Asset Management - [Domainmod](examples/domainmod) - DomainMOD is an open source application used to manage your domains and other internet assets in a central location. - [Snipe-IT](examples/snipe-it) - Snipe-IT is a free, open source IT asset management system written in PHP. +- [UpSnap](examples/upsnap) - A simple wake on lan app written with SvelteKit, Go, PocketBase and nmap. ### Backups & Syncing - [Duplicati](examples/duplicati) - Duplicati is a backup client that securely stores encrypted, incremental, compressed remote backups of local files on cloud storage services and remote file servers. diff --git a/examples/upsnap/README.md b/examples/upsnap/README.md new file mode 100644 index 0000000..3c5252a --- /dev/null +++ b/examples/upsnap/README.md @@ -0,0 +1,3 @@ +# References + +- https://github.com/seriousm4x/UpSnap diff --git a/examples/upsnap/docker-compose.yml b/examples/upsnap/docker-compose.yml new file mode 100644 index 0000000..b352c96 --- /dev/null +++ b/examples/upsnap/docker-compose.yml @@ -0,0 +1,20 @@ +version: "3" + +services: + upsnap: + image: ghcr.io/seriousm4x/upsnap:3 + container_name: upsnap + network_mode: host + restart: unless-stopped + volumes: + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/upsnap/data:/app/pb_data + 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.178.0/24 # Scan range is used for device discovery on local network + - UPSNAP_WEBSITE_TITLE=UpSnap # Custom website title + entrypoint: /bin/sh -c "./upsnap serve --http 0.0.0.0:5000" + healthcheck: + test: curl -fs "http://localhost:5000/api/health" || exit 1 + interval: 10s + #entrypoint: /bin/sh -c "apk update && apk add --no-cache && rm -rf /var/cache/apk/* && ./upsnap serve --http 0.0.0.0:8090"