add stirling pdf
Some checks are pending
/ run ansible (push) Waiting to run

This commit is contained in:
Gabriel Augendre 2024-12-17 20:30:32 +01:00
parent 31f901608c
commit 96a3245198
4 changed files with 27 additions and 2 deletions

View file

@ -18,6 +18,7 @@
- import_playbook: portainer.yaml # noqa: name[play] - import_playbook: portainer.yaml # noqa: name[play]
- import_playbook: privatebin.yaml # noqa: name[play] - import_playbook: privatebin.yaml # noqa: name[play]
- import_playbook: shortener.yaml # noqa: name[play] - import_playbook: shortener.yaml # noqa: name[play]
- import_playbook: stirling-pdf.yaml # noqa: name[play]
- import_playbook: test_headers.yaml # noqa: name[play] - import_playbook: test_headers.yaml # noqa: name[play]
- import_playbook: voice-pipeline.yaml # noqa: name[play] - import_playbook: voice-pipeline.yaml # noqa: name[play]
- import_playbook: wallabag.yaml # noqa: name[play] - import_playbook: wallabag.yaml # noqa: name[play]

View file

@ -272,10 +272,10 @@ aio.augendre.info {
} }
} }
cloud-old.augendre.info { stirlingpdf.augendre.info {
import common_headers import common_headers
import internal import internal
reverse_proxy localhost:9999 reverse_proxy localhost:9012
} }
######################################################### #########################################################

View file

@ -0,0 +1,13 @@
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:latest
ports:
- '127.0.0.1:9012:8080'
volumes:
- ./trainingData:/usr/share/tessdata # Required for extra OCR languages
- ./extraConfigs:/configs
environment:
- DOCKER_ENABLE_SECURITY=true
- SECURITY_ENABLE_LOGIN=true
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
- LANGS=en_GB,fr_FR,en_US

View file

@ -0,0 +1,11 @@
---
- name: Stirling-pdf
hosts: servers
gather_facts: false
tasks:
- name: Docker
ansible.builtin.include_role:
name: docker
vars:
docker_app_name: stirling-pdf