Trilium++;Lidarr--;Readarr--;Update Traefik configuration

This commit is contained in:
Danny Bessems 2022-11-09 11:43:38 +01:00
parent b8e81429bc
commit 5f7a9e2112
12 changed files with 123 additions and 14 deletions

View File

@ -3,10 +3,6 @@ image:
# tag: '2.4.8'
ports:
rtmp:
port: 1935
exposedPort: 1935
expose: true
web:
redirectTo: websecure
@ -27,12 +23,12 @@ persistence:
env:
- name: CF_API_EMAIL
valueFrom:
valueFrom:
secretKeyRef:
name: traefik-cloudflare
key: CF_API_EMAIL
- name: CF_API_KEY
valueFrom:
valueFrom:
secretKeyRef:
name: traefik-cloudflare
key: CF_API_KEY

View File

@ -9,8 +9,6 @@ data:
checkNewVersion: true
sendAnonymousUsage: true
entryPoints:
rtmp:
address: :1935
web:
address: :8000
websecure:
@ -73,8 +71,6 @@ data:
resolvers:
- 1.1.1.1:53
- 1.0.0.1:53
pilot:
dashboard: false
serversTransport:
insecureSkipVerify: true
dynamic.yml: |

View File

@ -31,10 +31,6 @@ spec:
containers:
- name: sabnzbd
image: bv11-cr01.bessems.eu/proxy/linuxserver/sabnzbd
command: ["/bin/sh"]
args:
- -c
- "sed -e '/-server/c\ --config-file /config --server \":8080\"' -i /etc/services.d/sabnzbd/run;/init"
ports:
- name: web
containerPort: 8080

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: trilium

View File

@ -0,0 +1,36 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: trilium
name: trilium
namespace: trilium
spec:
# strategy:
# type: Recreate
replicas: 1
selector:
matchLabels:
app: trilium
template:
metadata:
labels:
app: trilium
spec:
containers:
- image: bv11-cr01.bessems.eu/proxy/zadam/trilium:0.56-latest
name: trilium
env:
- name: TRILIUM_PORT
value: '8080'
ports:
- containerPort: 8080
name: web
volumeMounts:
- mountPath: /home/node/trilium-data
name: flexvolsmb-trilium-data
volumes:
- name: flexvolsmb-trilium-data
persistentVolumeClaim:
claimName: flexvolsmb-trilium-data

View File

@ -0,0 +1,18 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: trilium
namespace: trilium
spec:
entryPoints:
- websecure
routes:
- match: Host(`mindmap.spamasaurus.com`)
kind: Rule
services:
- name: trilium
port: 8080
middlewares:
- name: security-headers@file
- name: compression@file

View File

@ -0,0 +1,19 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-trilium-data
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-trilium-data
flexVolume:
driver: mount/smb
secretRef:
name: smb-secret
options:
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl
server: 192.168.11.225
share: /K3s.Volumes/trilium/data

View File

@ -0,0 +1,13 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: flexvolsmb-trilium-data
namespace: trilium
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-trilium-data
resources:
requests:
storage: 1Gi

View File

@ -0,0 +1,18 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: smb-secret
namespace: trilium
spec:
encryptedData:
password: AgCNyrvo4UUhMiKBSft6AFQKdKhmBnmVydvJkOEQ3z04AG/gwZXB1lgSk6dcV5q/ssLD5qmgdBoqqJBf5bvSyJHoQxckNwL8OqOrq+61BUnV4HI+d1mEHDpn3NklOJC7FayluIwy9p5hIpfsWWopcVz9C+bantPxzMw6cjlGDvdA4JmKgJxOabL46YhwTDLxKhUA6Xtq/5j3Yv/osDSDN5pNmblZOR7fQnO9XRZFFjAuigqAC5JYxpRbN0nc5NdA2oym8T6t2IHlBHQ0LEPpoqm+K2ZwHbe+viTeUuMtxOjl32E5OsnoU4gxgXT8qgo6dnppT6PRUICenzFU9mO1MCVXYuo9c4LAUtAqil6bGlehL1XGcWkwE+/ZT/8PjADdds1DD/cAyTl/cSF23RB1eoNmAYcXKxhq30hrI0ewuSeQT7FJTuou+hnA9EiqH3O5En2LHAlmWFBznokzYu0MZWmPC0dvkzy5A4SafVSduc//DfDRjBwoNNnjddN1hu32dKfQHJdyCR2fWtuwC8qUUXIPtkmCgbgPI7riJB2pt2cpDkuznogdAFV25+NagPG+2MhSGKYRMAnsykmN8wPGm5TM6Xl4toooNd74Auc3XIhN/6B9uTMKEF+3w8d77z3uBUK38NfCCrR8J/Rh2JfHMqbu9a4HqchCijfsND4y/0Oe9cUBY34J/aRgz6FTSpTf3vcTEOYPFX1cmTSCy9osksc/
username: AgBibFjLQhkklrFJMAW58kKSfenBXOyL302FabKzyAf3xWGVx2BSUohxdKbs1dVrjeOxU6A5kxQ9RyuNCHmSRcq1Kq6hcbt3S2ZJkdakE9BXw1iFIUPPcFRvW2Vv4IsZEdOZDyYajug4EzqAZueCyKXZPpsYyRzHGiXSdGqG9StIq06Z32c6fuzND3QNpyD5VZuKi4Q5Geikj+kG0LoHPKRcOq+rAVd1qScL53C/Qi3j2jm5nb51d4brsG+qllQkWUcUn1t/f1iSL2buhvLVhZ/qeb1UtJ3Ribk9v20nJQetE9h5e73CGOhUfT82DWaCT9Mzz5Ciiv+e8VNEXU8/uR6cyS79d1v+X4LYuDYsSupBzdizbmlM25XjVKGlt/MLkWmVY1QN3UDO6aBwF6SVp3coDXGoceKrDl5cZxkPhnUo0whoHPCLs3Qrfj0vlyzZUMW9f+uSC0nIoru9u9znHoEB8AEkLlDBYrXpY9DO5L1CMymp63pVt7Ts6YzynAD3Ak8noVksIULRgJaCqbnGRPqzWkzHG8eMmujXx4kDqaS+gWV8wfj3rzpWbr+oIVtYgE3q1fBj0V+L8D3UUzRVV27jYGgUV9UiIkND2GLDgAbLVq6TAIi3rur3WkF08NXYfOqEaLGrXjX7Q/V3l/sW6RME8hQi20hB7w/4+p3d79EHtWOKmKV77mbFYUne7ylbOPOK13SOeX8=
template:
data: null
metadata:
creationTimestamp: null
name: smb-secret
namespace: trilium
type: mount/smb

View File

@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: trilium
namespace: trilium
spec:
ports:
- protocol: TCP
name: web
port: 8080
selector:
app: trilium