Shaarli--;Trilium--
This commit is contained in:
parent
5719282895
commit
f36e22c397
@ -1,128 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: shaarli
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
name: web
|
||||
port: 80
|
||||
selector:
|
||||
app: shaarli
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: shaarli
|
||||
name: shaarli
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: shaarli
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: shaarli
|
||||
spec:
|
||||
containers:
|
||||
- image: bv11-cr01.bessems.eu/proxy/shaarli/shaarli
|
||||
name: shaarli
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: web
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/shaarli/cache
|
||||
name: flexvolsmb-shaarli-cache
|
||||
- mountPath: /var/www/shaarli/data
|
||||
name: flexvolsmb-shaarli-data
|
||||
volumes:
|
||||
- name: flexvolsmb-shaarli-cache
|
||||
persistentVolumeClaim:
|
||||
claimName: flexvolsmb-shaarli-cache
|
||||
- name: flexvolsmb-shaarli-data
|
||||
persistentVolumeClaim:
|
||||
claimName: flexvolsmb-shaarli-data
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: shaarli
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`p.itch.fyi`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: shaarli
|
||||
port: 80
|
||||
middlewares:
|
||||
- name: security-headers@file
|
||||
- name: compression@file
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: flexvolsmb-shaarli-cache
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-shaarli-cache
|
||||
flexVolume:
|
||||
driver: mount/smb
|
||||
secretRef:
|
||||
name: smb-secret
|
||||
options:
|
||||
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8
|
||||
server: 192.168.11.225
|
||||
share: /K3s.Volumes/shaarli/cache
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: flexvolsmb-shaarli-data
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-shaarli-data
|
||||
flexVolume:
|
||||
driver: mount/smb
|
||||
secretRef:
|
||||
name: smb-secret
|
||||
options:
|
||||
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8
|
||||
server: 192.168.11.225
|
||||
share: /K3s.Volumes/shaarli/data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-shaarli-cache
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-shaarli-cache
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-shaarli-data
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-shaarli-data
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
@ -1,4 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: trilium
|
@ -1,36 +0,0 @@
|
||||
---
|
||||
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
|
@ -1,18 +0,0 @@
|
||||
---
|
||||
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
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
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
|
@ -1,13 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: flexvolsmb-trilium-data
|
||||
namespace: trilium
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: flexvolsmb-trilium-data
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
@ -1,18 +0,0 @@
|
||||
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
|
||||
|
@ -1,13 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: trilium
|
||||
namespace: trilium
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
name: web
|
||||
port: 8080
|
||||
selector:
|
||||
app: trilium
|
Loading…
Reference in New Issue
Block a user