Add stirlingpdf

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-09-03 23:31:53 +02:00
parent 54e24022ce
commit b6d1b9f5a7
5 changed files with 44 additions and 2 deletions

View File

@ -16,8 +16,7 @@ DOCKER := docker
TORRENTS_SERVICES := qbittorrent transmission
SHARING_SERVICES := psitransfer picoshare privatebin projectsend jellyfin dufs
ADMIN_SERVICES := yacht uptime-kuma adminer
UTILS_SERVICES := it-tools
# stirlingpdf
UTILS_SERVICES := it-tools stirlingpdf
PROFILES := caddy wordpress syncthing gitea homepage $(SHARING_SERVICES) $(TORRENTS_SERVICES) $(ADMIN_SERVICES) $(UTILS_SERVICES)
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))

View File

@ -133,6 +133,10 @@ dufs.bensuperpc.org {
reverse_proxy dufs:5000
}
stirlingpdf.bensuperpc.org {
reverse_proxy stirlingpdf:8080
}
link.bensuperpc.org {
# TODO: Use service with database
# Friendly links

View File

@ -91,6 +91,12 @@
description: IT Tools
ping: it-tools.bensuperpc.org
container: it-tools0
- stirlingpdf:
#icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/stirlingpdf.png
href: https://stirlingpdf.bensuperpc.org/
description: StirlingPDF
ping: stirlingpdf.bensuperpc.org
container: stirlingpdf
- gitea:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
@ -98,6 +104,7 @@
description: Gitea
ping: gitea.bensuperpc.org
container: gitea
- Games:
- minecraft:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/minecraft.png

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:
- ./stirlingpdf/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

View File

@ -0,0 +1,6 @@
LANGS=en_GB
#DOCKER_ENABLE_SECURITY=true
#SECURITY_ENABLE_LOGIN=true
# Can be disabled after initial login
#SECURITY_INITIALLOGIN_USERNAME=admin
#SECURITY_INITIALLOGIN_PASSWORD=admin