umbrel-apps/stirling-pdf/docker-compose.yml
2024-08-27 12:19:05 +10:00

25 lines
759 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: stirling-pdf_app_1
APP_PORT: 8080
PROXY_AUTH_WHITELIST: "/api/*"
app:
image: frooodle/s-pdf:0.28.3@sha256:3c17244e2910f3ffd014562e20d41943a5d092c7005adad069bbaddcc5c7b27e
# 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