Add stirling-pdf initial working container.
This commit is contained in:
parent
ee5551662a
commit
5879f30582
2 changed files with 16 additions and 0 deletions
4
env-stirling-pdf
Normal file
4
env-stirling-pdf
Normal 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
12
stirling-pdf.sh
Executable 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 \
|
Loading…
Add table
Add a link
Reference in a new issue