add info about custom packages in container

This commit is contained in:
Maxi Quoß
2023-02-04 14:43:15 +01:00
parent b9aa9feb1d
commit a721af02b4
2 changed files with 4 additions and 1 deletions

View File

@@ -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**

View File

@@ -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"