Files
instance-setup-stuff/stirling_server-compose_template.yaml

37 lines
987 B
YAML

---
services:
stirling:
image: frooodle/s-pdf:latest
container_name: stirling-pdf
pull_policy: always
restart: unless-stopped
ports:
- 127.0.0.1:${PORT}:8080
volumes:
- type: bind
source: ${VOLUME_PATH}/trainingData
target: /usr/share/tessdata
bind:
create_host_path: true
- type: bind
source: ${VOLUME_PATH}/extraConfigs
target: /configs
bind:
create_host_path: true
- type: bind
source: ${VOLUME_PATH}/logs
target: /logs
bind:
create_host_path: true
environment:
PUID: ${PUID}
PGID: ${PGID}
DOCKER_ENABLE_SECURITY: true
SECURITY_ENABLE_LOGIN: true
SECURITY_INITIALLOGIN_USERNAME: ${INITIAL_USERNAME}
SECURITY_INITIALLOGIN_PASSWORD: ${INITIAL_PASSWORD}
SECURITY_CSRFDISABLED: false
SYSTEM_SHOWUPDATEONLYADMIN: true
INSTALL_BOOK_AND_ADVANCED_HTML_OPS: false
LANGS: en_US