Compare commits
2 commits
main
...
stirling-p
Author | SHA1 | Date | |
---|---|---|---|
66f0eddb95 | |||
128ddaa95f |
2 changed files with 27 additions and 0 deletions
|
@ -73,6 +73,11 @@ torrent.{$DOMAIN} http://torrent.{$DOMAIN} {
|
||||||
import errorhandler
|
import errorhandler
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pdf.{$DOMAIN} http://pdf.{$DOMAIN} {
|
||||||
|
reverse_proxy stirling-pdf:8080
|
||||||
|
import errorhandler
|
||||||
|
}
|
||||||
|
|
||||||
root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} {
|
root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} {
|
||||||
file_server * {
|
file_server * {
|
||||||
root /usr/share/caddy/web
|
root /usr/share/caddy/web
|
||||||
|
|
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
Reference in a new issue