feat: stirling pdf setup

This commit is contained in:
2025-09-30 11:04:57 +01:00
parent 0062be97aa
commit fdf3f7d4dc
8 changed files with 84 additions and 12 deletions
+29
View File
@@ -0,0 +1,29 @@
name: stirlingpdf
services:
app:
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
ports:
- '3328:8080'
volumes:
- ./data/trainingData:/usr/share/tessdata
- ./data/extraConfigs:/configs
- ./data/customFiles:/customFiles/
- ./data/logs:/logs/
- ./data/pipeline:/pipeline/
env_file:
- ./secrets/.env
environment:
DISABLE_ADDITIONAL_FEATURES: false
DOCKER_ENABLE_SECURITY: true
LANGS: en_GB
SECURITY_ENABLE_LOGIN: true
SECURITY_LOGINMETHOD: 'oauth2'
SECURITY_OAUTH2_ENABLED: true
SECURITY_OAUTH2_AUTOCREATEUSER: true
SECURITY_OAUTH2_ISSUER: 'https://auth.64815139.xyz'
SECURITY_OAUTH2_CLIENTID: 'GXbZWCII_iRwoQAjtpP6WzXDKagzYZC~dRSq3QMgJyb3RrvcPG0n.Elm3NnEpq8LLh_uZktw'
SECURITY_OAUTH2_BLOCKREGISTRATION: false
SECURITY_OAUTH2_SCOPES: 'openid, profile, email'
SECURITY_OAUTH2_USEASUSERNAME: 'preferred_username'
SECURITY_OAUTH2_PROVIDER: 'Authelia'
SYSTEM_GOOGLEVISIBILITY: false