umbrel-apps/stirling-pdf/docker-compose.yml

25 lines
759 B
YAML
Raw Normal View History

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: stirling-pdf_app_1
APP_PORT: 8080
PROXY_AUTH_WHITELIST: "/api/*"
app:
2024-09-16 07:07:17 +00:00
image: frooodle/s-pdf:0.29.0@sha256:5b9c9443e6eb0fa23b39475d68741d80826249193df231d6859ecda0f0aedd8d
# Stirling PDF does not work with a custom user
#user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
volumes:
# Required for extra OCR languages
- ${APP_DATA_DIR}/data/tessdata:/usr/share/tessdata
- ${APP_DATA_DIR}/data/configs:/configs
- ${APP_DATA_DIR}/data/logs:/logs
environment:
# Not needed as Umbrel authenticates the user
DOCKER_ENABLE_SECURITY: "false"
INSTALL_BOOK_AND_ADVANCED_HTML_OPS: "true"
LANGS: ALL