Stirling PDF under Tools
This commit is contained in:
parent
7fc79f7a21
commit
0b49253ca5
2 changed files with 27 additions and 0 deletions
|
@ -102,6 +102,11 @@ http://*.{$OLD_DOMAIN} {
|
|||
reverse_proxy authentik-server:9000
|
||||
}
|
||||
|
||||
@pdf host pdf.{$DOMAIN}
|
||||
handle @pdf {
|
||||
reverse_proxy stirling-pdf:8080
|
||||
}
|
||||
|
||||
# Fallback unhandled (sub)domains
|
||||
handle {
|
||||
error 404
|
||||
|
|
22
tools/docker-compose.yml
Normal file
22
tools/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
services:
|
||||
|
||||
stirling-pdf:
|
||||
image: frooodle/s-pdf:latest
|
||||
# ports:
|
||||
# - '8080:8080'
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/tools/stirling-pdf/trainingData:/usr/share/tesseract-ocr/5/tessdata #Required for extra OCR languages
|
||||
- ${VOLUMES_PATH}/tools/stirling-pdf/extraConfigs:/configs
|
||||
# - ${VOLUMES_PATH}/tools/stirling-pdf/customFiles:/customFiles/
|
||||
# - ${VOLUMES_PATH}/tools/stirling-pdf/logs:/logs/
|
||||
environment:
|
||||
- DOCKER_ENABLE_SECURITY=false
|
||||
|
||||
|
||||
networks:
|
||||
paperless:
|
||||
web:
|
||||
external: true
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue