Skip to content

Installation

FaTKaT edited this page Oct 5, 2021 · 2 revisions

UNRAID DOCKER

If you're running UNRAID and want to run the processor in docker via the GUI then follow the steps below.

docker run -d \
--name=openalprwebhookprocessor \
--net=bridge \
-v /host/path/:/app/config/ \
-p 3859:80 \
mlapaglia/openalprwebhookprocessor

Navigate to the UNRAID GUI for docker and press add container.

Make it look like the image below with the exception being the name. You can name it whatever you want!

Now press + Add another Path, Port, Variable, Label or Device

Once this prompt is up we have to go ahead and add the host path for where the config will sit on the host machine. /host/path/:app/config I like using /mnt/user/appdata/openalpr-webhook

Now press + Add another Path, Port, Variable, Label or Device

Here we are going to add the port we want the container to use 3859. However, you can use whatever port you want.

Change config type to Port

That's all we have to do! It should look like something below.

Go ahead and press Apply and it should configure and start the container. It will say: The command finished successfully! if it worked.

Linux Docker Setup

First thing we have to do is make sure we have docker installed. This can be verified by running docker -v. If its not installed, run the following commands:

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

Now that we confirmed docker is installed, let's pull the image.

Docker pull mlapaglia/openalprwebhookprocessor

Make sure to change /host/path/ to a location on your host machine. I prefer making a folder in home/user/ directory.

sudo mkdir openalpr-webhook

Then use the docker run command.

docker run -d \
--name=openalprwebhookprocessor \
--net=bridge \
-v /host/path/:/app/config/ \
-p 3859:80 \
mlapaglia/openalprwebhookprocessor
Clone this wiki locally