Blame
d1ec6e | MB Tech | 2025-05-26 21:09:01 | 1 | # Sterling-PDF |
2 | ||||
3 | Docker compose file |
|||
4 | ||||
5 | ```yaml |
|||
6 | services: |
|||
7 | stirling-pdf: |
|||
8 | container_name: Stirling-PDF |
|||
9 | image: stirlingtools/stirling-pdf:latest |
|||
10 | deploy: |
|||
11 | resources: |
|||
12 | limits: |
|||
13 | memory: 4G |
|||
14 | healthcheck: |
|||
15 | test: ["CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -qv 'Please sign in'"] |
|||
16 | interval: 5s |
|||
17 | timeout: 10s |
|||
18 | retries: 16 |
|||
19 | ports: |
|||
20 | - "8090:8080" |
|||
21 | volumes: |
|||
22 | - /stirling/latest/data:/usr/share/tessdata:rw |
|||
23 | - /stirling/latest/config:/configs:rw |
|||
24 | - /stirling/latest/logs:/logs:rw |
|||
25 | environment: |
|||
26 | DOCKER_ENABLE_SECURITY: "false" |
|||
27 | SECURITY_ENABLELOGIN: "false" |
|||
28 | LANGS: "en_GB,en_US,ar_AR,de_DE,fr_FR,es_ES,zh_CN,zh_TW,ca_CA,it_IT,sv_SE,pl_PL,ro_RO,ko_KR,pt_BR,ru_RU,el_GR,hi_IN,hu_HU,tr_TR,id_ID" |
|||
29 | SYSTEM_DEFAULTLOCALE: en-US |
|||
30 | UI_APPNAME: Stirling-PDF |
|||
31 | UI_HOMEDESCRIPTION: Demo site for Stirling-PDF Latest |
|||
32 | UI_APPNAMENAVBAR: Stirling-PDF Latest |
|||
33 | SYSTEM_MAXFILESIZE: "100" |
|||
34 | METRICS_ENABLED: "true" |
|||
35 | SYSTEM_GOOGLEVISIBILITY: "true" |
|||
36 | restart: on-failure:5 |
|||
37 | ``` |