mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-08-01 09:58:42 -04:00
add info about custom packages in container
This commit is contained in:
@@ -42,6 +42,8 @@ If you need network discovery, make sure to have `nmap` installed and run upsnap
|
||||
|
||||
Alternatively use the [docker-compose](docker-compose.yml) example. See the comments in the file for customization.
|
||||
|
||||
If you need additional packages inside the container, uncomment the `entrypoint` inside the compose file. You can search for your needed package [here](https://pkgs.alpinelinux.org/packages).
|
||||
|
||||
### Reverse Proxy
|
||||
|
||||
**Caddy example**
|
||||
|
||||
@@ -16,4 +16,5 @@ services:
|
||||
# - 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
|
||||
# # 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"
|
||||
|
||||
Reference in New Issue
Block a user