feat(Booklore) add Booklore (#40937)

**Description**

Add Booklore

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**

Tested with app-template

**📃 Notes:**
The init-container is needed for creating the nginx run container and
setting the correct permissions

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [x] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com>
Co-authored-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com>
This commit is contained in:
Albert Romkes
2025-10-21 17:35:45 +02:00
committed by GitHub
parent f2c17c0648
commit 6227e2882d
9 changed files with 155 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
icon.webp
icon-small.webp
+4
View File
@@ -0,0 +1,4 @@
---
title: Changelog
pagefind: false
---
+51
View File
@@ -0,0 +1,51 @@
annotations:
artifacthub.io/links: |-
- name: support
url: https://discord.com/invite/tVsPTHWTtr
max_scale_version: 24.04.1
min_scale_version: 24.04.0
truecharts.org/category: media
truecharts.org/max_helm_version: "3.17"
truecharts.org/max_kubernetes_version: 1.32.0
truecharts.org/min_helm_version: "3.14"
truecharts.org/min_kubernetes_version: 1.24.0
truecharts.org/train: incubator
apiVersion: v2
appVersion: 0.34.0
dependencies:
- name: common
version: 28.26.1
repository: oci://oci.trueforge.org/truecharts
condition: ""
alias: ""
tags: []
import-values: []
- name: mariadb
version: 17.9.1
repository: oci://oci.trueforge.org/truecharts
condition: mariadb.enabled
alias: ""
tags: []
import-values: []
deprecated: false
description: A self-hosted, multi-user digital library with smart shelves, auto metadata, Kobo & KOReader sync, BookDrop imports, OPDS support, and a built-in reader for EPUB, PDF, and comics
home: https://truecharts.org/charts/incubator/booklore
icon: https://truecharts.org/img/hotlink-ok/chart-icons/booklore.webp
keywords:
- booklore
- MediaApp-Other
kubeVersion: '>=1.24.0-0'
maintainers:
- name: TrueCharts
email: info@truecharts.org
url: https://truecharts.org
name: booklore
sources:
- https://github.com/booklore-app/booklore
- https://github.com/truecharts/charts/tree/master/charts/incubator/booklore
- https://github.com/trueforge-org/truecharts/tree/master/charts/incubator/booklore
- https://hub.docker.com/r/booklore/booklore
- https://ghcr.io/booklore-app/booklore
type: application
version: 0.0.1
+3
View File
@@ -0,0 +1,3 @@
---
title: README
---
@@ -0,0 +1,25 @@
---
title: Add Books Directory
---
Following is an example on how to add your own book shares:
```yaml
persistence:
...
# Your own books directory (if needed)
books:
enabled: true
mountPath: /books
path: /mnt/tank/booklore/books
server: ${NFS_SERVER_IP}
type: nfs
# Your own bookdrop directory for easily importing books
bookdrop:
enabled: true
mountPath: /bookdrop
path: /mnt/tank/booklore/bookdrop
server: ${NFS_SERVER_IP}
type: nfs
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+38
View File
@@ -0,0 +1,38 @@
image:
pullPolicy: IfNotPresent
repository: ghcr.io/booklore-app/booklore
tag: v1.8.1@sha256:6b2250cd1a8e13f4e458b5dd2ffe30ed9696482061f27954a97463ffcce677a2
service:
main:
ports:
main:
protocol: http
port: 6060
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
workload:
main:
podSpec:
containers:
main:
env:
DATABASE_URL:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: jdbc-mariadb
DATABASE_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
DATABASE_PASSWORD: "{{ .Values.mariadb.password }}"
BOOKLORE_PORT: "{{ .Values.service.main.ports.main.port }}"
persistence:
data:
enabled: true
mountPath: /app/data
varrun:
enabled: false
mariadb:
enabled: true
mariadbUsername: booklore