Skip to content

Commit dd967b5

Browse files
committed
add upsnap
1 parent 7a9e32c commit dd967b5

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ docker compose up
150150
### Asset Management
151151
- [Domainmod](examples/domainmod) - DomainMOD is an open source application used to manage your domains and other internet assets in a central location.
152152
- [Snipe-IT](examples/snipe-it) - Snipe-IT is a free, open source IT asset management system written in PHP.
153+
- [UpSnap](examples/upsnap) - A simple wake on lan app written with SvelteKit, Go, PocketBase and nmap.
153154

154155
### Backups & Syncing
155156
- [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.

examples/upsnap/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# References
2+
3+
- https://github.com/seriousm4x/UpSnap

examples/upsnap/docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: "3"
2+
3+
services:
4+
upsnap:
5+
image: ghcr.io/seriousm4x/upsnap:3
6+
container_name: upsnap
7+
network_mode: host
8+
restart: unless-stopped
9+
volumes:
10+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/upsnap/data:/app/pb_data
11+
environment:
12+
- TZ=Europe/Berlin # Set container timezone for cron schedules
13+
- UPSNAP_INTERVAL=@every 10s # Sets the interval in which the devices are pinged
14+
- UPSNAP_SCAN_RANGE=192.168.178.0/24 # Scan range is used for device discovery on local network
15+
- UPSNAP_WEBSITE_TITLE=UpSnap # Custom website title
16+
entrypoint: /bin/sh -c "./upsnap serve --http 0.0.0.0:5000"
17+
healthcheck:
18+
test: curl -fs "http://localhost:5000/api/health" || exit 1
19+
interval: 10s
20+
#entrypoint: /bin/sh -c "apk update && apk add --no-cache <YOUR_PACKAGE> && rm -rf /var/cache/apk/* && ./upsnap serve --http 0.0.0.0:8090"

0 commit comments

Comments
 (0)