Add stirling-pdf initial working container.

This commit is contained in:
Eli Ribble 2024-02-21 09:06:02 -08:00
parent ee5551662a
commit 5879f30582
2 changed files with 16 additions and 0 deletions

4
env-stirling-pdf Normal file
View File

@ -0,0 +1,4 @@
DOCKER_ENABLE_SECURITY=true
SECURITY_ENABLE_LOGIN=true
SECURITY_INITIALLOGIN_USERNAME=eliribble
SECURITY_INITIALLOGIN_PASSWORD=secret

12
stirling-pdf.sh Executable file
View File

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