SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.23k stars 238 forks source link

[APP REQUEST]: Inventory Hunter #218

Open JoshuaMunoz opened 3 years ago

JoshuaMunoz commented 3 years ago

Dockerhub Link:

https://hub.docker.com/r/ericjmarti/inventory-hunter

Description

⚡️ Get notified as soon as your next CPU, GPU, or game console is in stock

Separate Database?

None

Fill this out as best as you can. Documentation about these can be found here:

These steps should work on any supported Docker platform, but they have been specifically tested on Raspberry Pi OS with Docker already installed.

Clone this repository and pull the latest image from Docker Hub:

pi@raspberrypi:~
$ git clone https://github.com/EricJMarti/inventory-hunter

pi@raspberrypi:~
$ cd inventory-hunter

pi@raspberrypi:~/inventory-hunter
$ docker pull ericjmarti/inventory-hunter:latest

Create your own configuration file based on one of the provided examples:

Start the Docker container using the provided docker_run.bash script, specifying the required arguments.

If using Discord or Slack, the format of your command will look like this:

$ ./docker_run.bash -c <config_file> -a <discord_or_slack> -w <webhook_url>

Discord example:

pi@raspberrypi:~/inventory-hunter
$ ./docker_run.bash -c ./config/newegg_rtx_3070.yaml -a discord -w https://discord.com/api/webhooks/...

If using an SMTP relay, the format of your command will look like this:

$ ./docker_run.bash -c <config_file> -e <email_address> -r <relay_ip_address>

SMTP example:

pi@raspberrypi:~/inventory-hunter
$ ./docker_run.bash -c ./config/newegg_rtx_3070.yaml -e myemail@email.com -r 127.0.0.1