46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
services:
|
|
stirling-pdf:
|
|
container_name: Stirling-PDF
|
|
image: stirlingtools/stirling-pdf
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0'
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
healthcheck:
|
|
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 90s
|
|
ports:
|
|
- 7890:8080
|
|
volumes:
|
|
- /var/lib/docker/volumes/stirling/data:/usr/share/tessdata:rw # Required for extra OCR languages
|
|
- /var/lib/docker/volumes/stirling/config:/configs:rw
|
|
- /var/lib/docker/volumes/stirling/logs:/logs:rw
|
|
environment:
|
|
DOCKER_ENABLE_SECURITY: true # or false
|
|
SECURITY_ENABLELOGIN: true #or false
|
|
SECURITY_INITIALLOGIN_USERNAME: thedarty
|
|
SECURITY_INITIALLOGIN_PASSWORD: St&ph@ne10Nove.@1976
|
|
INSTALL_BOOK_AND_ADVANCED_HTML_OPS: false #or true
|
|
SECURITY_CSRFDISABLED: true #or false
|
|
SYSTEM_DEFAULTLOCALE: fr_FR # or fr_FR or de_DE
|
|
UI_APPNAME: TheD@rtyPDF
|
|
UI_HOMEDESCRIPTION: TheD@rty PDF Description
|
|
UI_APPNAMENAVBAR: TheD@rty PDF
|
|
SYSTEM_MAXFILESIZE: 5000 # Set the maximum file size in MB
|
|
METRICS_ENABLED: true
|
|
SYSTEM_GOOGLEVISIBILITY: false # or true
|
|
restart: always
|
|
networks:
|
|
- stirlingnet
|
|
|
|
networks:
|
|
stirlingnet:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.28.0.0/24 |