diff --git a/env-stirling-pdf b/env-stirling-pdf new file mode 100644 index 0000000..6e5cc85 --- /dev/null +++ b/env-stirling-pdf @@ -0,0 +1,4 @@ +DOCKER_ENABLE_SECURITY=true +SECURITY_ENABLE_LOGIN=true +SECURITY_INITIALLOGIN_USERNAME=eliribble +SECURITY_INITIALLOGIN_PASSWORD=secret diff --git a/stirling-pdf.sh b/stirling-pdf.sh new file mode 100755 index 0000000..3c03349 --- /dev/null +++ b/stirling-pdf.sh @@ -0,0 +1,12 @@ +#!/bin/bash +podman run -d \ + --env-file=/opt/podman/env-stirling-pdf \ + -p 10240:8080 \ + -v /mnt/slab1/stirling-pdf/training-data:/usr/share/tessdata \ + -v /mnt/slab1/stirling-pdf/configs:/configs \ + -v /var/log/stirling-pdf:/logs \ + --name stirling-pdf \ + docker.io/frooodle/s-pdf:latest + +# Can also add these for customisation but are not required +# -v /location/of/customFiles:/customFiles \