replace stirling with bento

This commit is contained in:
2026-06-06 11:48:57 +01:00
parent 6497af3096
commit ff4ab92372
9 changed files with 35 additions and 71 deletions
+8
View File
@@ -0,0 +1,8 @@
name: bentopdf
services:
app:
image: bentopdf/bentopdf:latest
container_name: bentopdf
ports:
- "9830:8080"
restart: unless-stopped
-18
View File
@@ -84,7 +84,6 @@ identity_providers:
allowed_origins: allowed_origins:
- "https://immich.64815139.xyz" - "https://immich.64815139.xyz"
- "https://gitea.64815139.xyz" - "https://gitea.64815139.xyz"
- "https://stirling-pdf.64815139.xyz"
allowed_origins_from_client_redirect_uris: false allowed_origins_from_client_redirect_uris: false
clients: clients:
- client_id: T0kYrFHTASAXGCV-rUOlQLDGsW0HFJRx_eAQ1dx9mo-vTgilubJMU46Ud1oRexmtZBjgAsEp - client_id: T0kYrFHTASAXGCV-rUOlQLDGsW0HFJRx_eAQ1dx9mo-vTgilubJMU46Ud1oRexmtZBjgAsEp
@@ -134,20 +133,3 @@ identity_providers:
- form_post - form_post
- query - query
- fragment - fragment
- client_id: 'GXbZWCII_iRwoQAjtpP6WzXDKagzYZC~dRSq3QMgJyb3RrvcPG0n.Elm3NnEpq8LLh_uZktw'
client_name: 'Stirling-PDF'
client_secret: {{ secret "/run/secrets/STIRLING_PDF_CLIENT_SECRET" }}
public: false
authorization_policy: 'two_factor'
token_endpoint_auth_method: 'client_secret_basic'
scopes:
- 'openid'
- 'profile'
- 'groups'
- 'email'
redirect_uris:
- 'https://stirling-pdf.64815139.xyz/login/oauth2/code/oidc'
grant_types:
- 'authorization_code'
response_types:
- 'code'
+1 -1
View File
@@ -65,7 +65,7 @@ immich.64815139.xyz {
} }
} }
stirling-pdf.64815139.xyz { bento-pdf.64815139.xyz {
route { route {
reverse_proxy 192.168.0.216:3328 reverse_proxy 192.168.0.216:3328
} }
+1 -1
View File
@@ -31,7 +31,7 @@
"proxied": false "proxied": false
}, },
{ {
"name": "stirling-pdf", "name": "bento-pdf",
"proxied": false "proxied": false
}, },
{ {
@@ -0,0 +1,7 @@
<svg width="166" height="166" viewBox="0 0 166 166" fill="none" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(40, 0)">
<path d="M56.7848 80.9116L0 25.6211L24.8434 1.43151C26.8037 -0.47717 29.9814 -0.47717 31.9414 1.43151L85.177 53.2662L56.7848 80.9116Z" fill="#A5B4FC"/>
<path d="M-1.30805e-05 80.7335L21.2939 101.467L42.5878 80.7335L21.2939 60L-1.30805e-05 80.7335Z" fill="#E0E7FF"/>
<path d="M56.7848 83L81.6279 107.19C83.5881 109.098 83.5881 112.192 81.6279 114.101L28.3925 165.936L0 138.29L56.7848 83Z" fill="#6366F1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 549 B

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="44.7 -0.03 422.6 512.03"><path d="m352.1.7-262 57.7C63.6 64.3 44.7 87.8 44.7 115v332.8c0 23.7 17.7 43.5 41 46.2l137.5 18 121.1-120.5L467 265.7l-2.2-190.4c-.3-23.2-21.8-40.4-44.4-35.5L390 46.4l.2-14.4c.3-20.4-18.4-35.6-38.1-31.3" style="fill:#c02223"/><path d="M390.4 46.3v301.9l76.9-82.8-2.2-196.7c-.2-20-18.7-34.7-38.2-30.4z" style="fill:#882425"/><linearGradient id="a" x1="291.877" x2="304.067" y1="125.154" y2="227.245" gradientTransform="matrix(1.4556 0 0 -1.4548 -94.406 694.55)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#dcf1f3"/><stop offset="1" style="stop-color:#c2c2c9"/></linearGradient><path d="m223.2 512 205.7-53.6 38.4-192.9z" style="fill:url(#a)"/><linearGradient id="b" x1="205.908" x2="225.274" y1="178.073" y2="450.816" gradientTransform="matrix(1.4539 0 0 -1.4539 -93.959 694.194)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#dcf1f3"/><stop offset="1" style="stop-color:#c2c2c9"/></linearGradient><path d="M284.4 212.5s-23.5-30.6-40.9-38.9c-11.1-5.2-27.5-7.2-40.4-.8-19 9.5-21 36.2-3.5 46.8 4.1 2.6 9.7 4.8 16.9 6.5 38.7 8.9 102.6 27.3 94.8 101.5 0 0-4.5 69.6-77.7 77.6-12.9 1.4-26 .5-38.5-2.5-17.4-3.8-48.1-11.7-63.1-21l-2.8-79.4h7.4s14.6 35.3 56.1 52.4c7.7 3.1 16.1 4.3 24.3 3.1 10.3-1.5 22.4-7.1 27.3-23.8 0 0 8.3-24.4-34.7-37.8-34.4-10.8-66.8-21.8-80.2-58.1-6.3-17.2-7.4-36.2-3.1-54.5 5.7-23.8 22-57.3 68-71.7 0 0 60.5-16.4 102 5.8l-1.8 94.8z" style="fill:url(#b)"/></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

+3 -3
View File
@@ -37,11 +37,11 @@
</a> </a>
</li> </li>
<li class="app-item"> <li class="app-item">
<a href="https://stirling-pdf.64815139.xyz" target="_blank"> <a href="https://bento-pdf.64815139.xyz" target="_blank">
<div class="app-icon-wrapper"> <div class="app-icon-wrapper">
<img src="assets/icons/stirling-pdf.svg" alt="Stirling PDF" class="app-icon"> <img src="assets/icons/bento-pdf.svg" alt="Bento PDF" class="app-icon">
</div> </div>
<span class="app-name">Stirling PDF</span> <span class="app-name">Bento PDF</span>
</a> </a>
</li> </li>
<li class="app-item"> <li class="app-item">
+15 -18
View File
@@ -1,36 +1,34 @@
name: gateway name: gateway
secrets: secrets:
JWT_SECRET: JWT_SECRET:
file: './authelia/secrets/auth/JWT_SECRET' file: "./authelia/secrets/auth/JWT_SECRET"
SESSION_SECRET: SESSION_SECRET:
file: './authelia/secrets/auth/SESSION_SECRET' file: "./authelia/secrets/auth/SESSION_SECRET"
STORAGE_ENCRYPTION_KEY: STORAGE_ENCRYPTION_KEY:
file: './authelia/secrets/auth/STORAGE_ENCRYPTION_KEY' file: "./authelia/secrets/auth/STORAGE_ENCRYPTION_KEY"
SMTP_USERNAME: SMTP_USERNAME:
file: './authelia/secrets/auth/SMTP_USERNAME' file: "./authelia/secrets/auth/SMTP_USERNAME"
SMTP_PASSWORD: SMTP_PASSWORD:
file: './authelia/secrets/auth/SMTP_PASSWORD' file: "./authelia/secrets/auth/SMTP_PASSWORD"
HMAC_SECRET: HMAC_SECRET:
file: './authelia/secrets/auth/HMAC_SECRET' file: "./authelia/secrets/auth/HMAC_SECRET"
POSTGRES_PASSWORD: POSTGRES_PASSWORD:
file: './authelia/secrets/postgres/POSTGRES_PASSWORD' file: "./authelia/secrets/postgres/POSTGRES_PASSWORD"
REDIS_PASSWORD: REDIS_PASSWORD:
file: './authelia/secrets/redis/REDIS_PASSWORD' file: "./authelia/secrets/redis/REDIS_PASSWORD"
OIDC_JWKS_AUTHELIA_PEM: OIDC_JWKS_AUTHELIA_PEM:
file: './authelia/secrets/jwks/rs256.pem' file: "./authelia/secrets/jwks/rs256.pem"
OIDC_JWKS_AUTHELIA_CERT: OIDC_JWKS_AUTHELIA_CERT:
file: './authelia/secrets/jwks/rs256.cert' file: "./authelia/secrets/jwks/rs256.cert"
IMMICH_CLIENT_SECRET: IMMICH_CLIENT_SECRET:
file: './authelia/secrets/clients/IMMICH_CLIENT_SECRET' file: "./authelia/secrets/clients/IMMICH_CLIENT_SECRET"
GITEA_CLIENT_SECRET: GITEA_CLIENT_SECRET:
file: './authelia/secrets/clients/GITEA_CLIENT_SECRET' file: "./authelia/secrets/clients/GITEA_CLIENT_SECRET"
STIRLING_PDF_CLIENT_SECRET:
file: './authelia/secrets/clients/STIRLING_PDF_CLIENT_SECRET'
services: services:
authelia: authelia:
image: 'docker.io/authelia/authelia:latest' image: "docker.io/authelia/authelia:latest"
container_name: gateway_authelia container_name: gateway_authelia
restart: 'unless-stopped' restart: "unless-stopped"
expose: expose:
- 9091 - 9091
depends_on: depends_on:
@@ -49,7 +47,6 @@ services:
- OIDC_JWKS_AUTHELIA_CERT - OIDC_JWKS_AUTHELIA_CERT
- IMMICH_CLIENT_SECRET - IMMICH_CLIENT_SECRET
- GITEA_CLIENT_SECRET - GITEA_CLIENT_SECRET
- STIRLING_PDF_CLIENT_SECRET
environment: environment:
AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE: /run/secrets/JWT_SECRET AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE: /run/secrets/JWT_SECRET
AUTHELIA_SESSION_SECRET_FILE: /run/secrets/SESSION_SECRET AUTHELIA_SESSION_SECRET_FILE: /run/secrets/SESSION_SECRET
@@ -104,7 +101,7 @@ services:
container_name: gateway_cloudflare_ddns container_name: gateway_cloudflare_ddns
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
network_mode: 'host' network_mode: "host"
env_file: env_file:
- ./cloudflare-ddns/secrets/.env - ./cloudflare-ddns/secrets/.env
environment: environment:
-29
View File
@@ -1,29 +0,0 @@
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