Despliegue imágenes inicial

This commit is contained in:
2025-12-01 23:04:37 +01:00
commit 91532adf02
32 changed files with 799 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: v2
appVersion: '25.7'
description: A free and open-source, web-based platform designed for documenting information.
name: bookstacktfm
version: 2025.9.24
sources:
- https://www.bookstackapp.com/
- https://hub.docker.com/r/linuxserver/bookstack
dependencies:
- name: common
version: 4.1.2
repository: https://bjw-s-labs.github.io/helm-charts/

View File

@@ -0,0 +1,9 @@
namespace: tfm
helm:
chart: .
repo: ""
version: 2025.5.22
releaseName: bookstacktfm
valuesFiles:
- values.yaml

View File

@@ -0,0 +1,5 @@
---
{{/* Render the templates */}}
{{- include "bjw-s.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}

View File

@@ -0,0 +1,108 @@
global:
fullnameOverride: bookstacktfm
defaultPodOptions:
annotations:
diun.enable: 'true'
diun.watch_repo: 'true'
diun.max_tags: '10'
diun.sort_tags: semver
diun.exclude_tags: ''
diun.include_tags: '^\d+\.\d+\.\d+$' #Revisado
controllers:
main:
enabled: true
type: deployment
replicas: 1
strategy: Recreate
containers:
main:
image:
repository: index.docker.io/solidnerd/bookstack # {"$imagescan": "bookstack-scan:name"}
tag: 25.7.2 # {"$imagescan": "bookstack-scan:tag"}
pullPolicy: IfNotPresent
envFrom:
- configMapRef:
identifier: config
- secretRef:
identifier: secret
resources:
limits:
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
secrets:
secret:
enabled: true
stringData:
DB_PASSWORD: iXsL8pJq
APP_KEY: base64:ie0Ttwx54vW7s2FZ59OLp5rPLeDd+5W4xqmM1bvIMaE=
configMaps:
config:
enabled: true
data:
TZ: Europe/Madrid
APP_ENV: local
APP_URL: https://bookstack.tfmuocdfcarvajal.duckdns.org/
DB_HOST: bookstacktfmbbdd-bbdd
DB_DATABASE: tfmuocdfcarvajal
DB_USERNAME: tfmuocdfcarvajalUser
MAIL_FROM: postmaster@bookstack.tfmuocdfcarvajal.duckdns.org
MAIL_HOST: SMTP
MAIL_PORT: "25"
service:
web:
enabled: true
nameOverride: web
controller: main
primary: false
type: ClusterIP
ports:
web:
enabled: true
primary: true
port: 80
protocol: HTTP
targetPort: 8080
ingress:
main:
enabled: true
nameOverride: web
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
labels:
use-http01-prod: "true"
hosts:
- host: bookstack.tfmuocdfcarvajal.duckdns.org
paths:
- path: /
pathType: Prefix
service:
name: bookstacktfm
identifier: bookstacktfm
port: 80
tls:
- hosts:
- bookstack.tfmuocdfcarvajal.duckdns.org
secretName: bookstacktfm-certificado-duckdns
persistence:
store:
enabled: true
type: persistentVolumeClaim
name: store
accessMode: ReadWriteOnce
size: 1Gi
retain: yes
globalMounts:
- path: /var/www/bookstack/storage/uploads
readOnly: false
uploads:
enabled: true
type: persistentVolumeClaim
name: uploads
accessMode: ReadWriteOnce
size: 1Gi
retain: yes
globalMounts:
- path: /var/www/bookstack/public/uploads
readOnly: false

View File

@@ -0,0 +1,12 @@
apiVersion: v2
appVersion: "11.8"
description: A free and open-source relational database management system, designed as a fork of MySQL
name: bookstacktfmbbdd
version: 2025.9.24
sources:
- https://mariadb.org/
- https://hub.docker.com/_/mariadb
dependencies:
- name: common
version: 3.7.3
repository: https://bjw-s-labs.github.io/helm-charts/

View File

@@ -0,0 +1,9 @@
namespace: tfm
helm:
chart: .
repo: ""
version: 2025.9.24
releaseName: bookstacktfmbbdd
valuesFiles:
- values.yaml

View File

@@ -0,0 +1,5 @@
---
{{/* Render the templates */}}
{{- include "bjw-s.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}

View File

@@ -0,0 +1,72 @@
---
global:
fullnameOverride: bookstacktfmbbdd
defaultPodOptions:
annotations:
diun.enable: "false"
diun.include_tags: \d\d.\d(.\d)?-apache
diun.watch_repo: "true"
controllers:
main:
enabled: true
type: deployment
replicas: 1
strategy: Recreate
containers:
main:
image:
repository: mariadb
tag: "11.8"
pullPolicy: IfNotPresent
envFrom:
- config: config
- secret: secret
resources:
limits:
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
secrets:
secret:
enabled: true
stringData:
DB_DATABASE: tfmuocdfcarvajal
DB_USER: tfmuocdfcarvajalUser
DB_PASSWORD: iXsL8pJq
MYSQL_PASSWORD: iXsL8pJq
MYSQL_ROOT_PASSWORD: TFM12
configMaps:
config:
enabled: true
data:
TZ: Europe/Madrid
MARIADB_AUTO_UPGRADE: "1"
service:
bbdd:
enabled: true
nameOverride: bbdd
controller: main
primary: false
type: ClusterIP
ports:
bbdd:
enabled: true
primary: true
port: 3306
protocol: TCP
targetPort: 3306
persistence:
data:
enabled: true
type: persistentVolumeClaim
name: data
accessMode: ReadWriteOnce
size: 1Gi
retain: yes
globalMounts:
- path: /var/lib/mysql
readOnly: false