cdb3d863db
The service works fine now but shows up as Running (unhealthy). Adding a check on its main page on port 8080 makes it healthy.
23 lines
671 B
YAML
23 lines
671 B
YAML
# documentation: https://github.com/Stirling-Tools/Stirling-PDF
|
|
# slogan: Stirling is a powerful web based PDF manipulation tool
|
|
# tags: pdf, manipulation, web, tool
|
|
# logo: svgs/stirling.png
|
|
# port: 8080
|
|
|
|
services:
|
|
stirling-pdf:
|
|
image: frooodle/s-pdf:latest
|
|
volumes:
|
|
- stirling-training-data:/usr/share/tesseract-ocr/5/tessdata
|
|
- stirling-configs:/configs
|
|
- stirling-custom-files:/customFiles/
|
|
- stirling-logs:/logs/
|
|
environment:
|
|
- SERVICE_FQDN_SPDF_8080
|
|
- DOCKER_ENABLE_SECURITY=false
|
|
healthcheck:
|
|
test: 'curl --fail -I http://localhost:8080 || exit 1'
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|