Improve docker-compose

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2025-01-19 21:08:53 +01:00
parent 3bdcd4d459
commit 3b4c3cb54c
66 changed files with 122 additions and 83 deletions

View File

@ -0,0 +1,26 @@
services:
# stirlingpdf
stirlingpdf:
image: frooodle/s-pdf:latest
container_name: stirlingpdf
profiles:
- stirlingpdf
restart: on-failure:5
depends_on:
- caddy
env_file:
- ./env/stirlingpdf.env
volumes:
- stirlingpdf_config:/configs
- stirlingpdf_tessdata:/usr/share/tessdata
networks:
- infra-network
security_opt:
- no-new-privileges:true
read_only: false
volumes:
stirlingpdf_config:
name: stirlingpdf_config
stirlingpdf_tessdata:
name: stirlingpdf_tessdata