Skip to content

Commit

Permalink
add info about custom packages in container
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousm4x committed Feb 4, 2023
1 parent b9aa9fe commit a721af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -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**
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Expand Up @@ -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"

0 comments on commit a721af0

Please sign in to comment.