eindelijk weer eens een push

This commit is contained in:
allard
2026-05-31 16:07:30 +02:00
parent 01cff8e165
commit ff21c258e0
2747 changed files with 302316 additions and 131101 deletions
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: foundryvtt-lb
labels:
name: foundryvtt-lb
spec:
type: LoadBalancer
ports:
- port: 30000
selector:
app: foundryvtt
+14
View File
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: foundryvtt-np
labels:
name: foundryvtt-np
spec:
type: NodePort
ports:
- port: 30000
nodePort: 31889
name: http
selector:
app: foundryvtt
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: foundry-pv
spec:
storageClassName: manual
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/home/ubuntu/foundry-data"
+18
View File
@@ -0,0 +1,18 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: foundry-pvc
namespace: foundryvtt
spec:
storageClassName: manual
volumeName: foundry-pv
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: foundryvtt
namespace: foundryvtt
labels:
name: foundryvtt
spec:
type: ClusterIP
ports:
- port: 30000
selector:
app: foundryvtt
+57
View File
@@ -0,0 +1,57 @@
apiVersion: v1
kind: Namespace
metadata:
name: foundryvtt
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: foundryvtt
namespace: foundryvtt
labels:
app: foundryvtt
spec:
replicas: 1
selector:
matchLabels:
app: foundryvtt
template:
metadata:
labels:
app: foundryvtt
spec:
containers:
- name: foundryvtt
image: felddy/foundryvtt
ports:
- containerPort: 30000
env:
- name: FOUNDRY_USERNAME
value: "LuminousQuicksilver"
- name: FOUNDRY_PASSWORD
value: "32MglNnHrOzBSj2fBA0N"
- name: CONTAINER_PRESERVE_CONFIG
value: "true"
volumeMounts:
- mountPath: /data
name: foundrydata
subPath: foundryvtt/Data
volumes:
- name: foundrydata
persistentVolumeClaim:
claimName: foundry-pvc
---
apiVersion: v1
kind: Service
metadata:
name: foundryvtt-svc
namespace: foundryvtt
labels:
name: foundryvtt-svc
spec:
type: ClusterIP
ports:
- port: 30000
selector:
app: foundryvtt
+16
View File
@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: foundryvtt-http
spec:
entryPoints:
- web
routes:
- match: Host("dandd-dev.allarddcs.nl")
kind: Rule
middlewares:
- name: redirect-to-https
namespace: default
services:
- name: foundryvtt
port: 30000
+39
View File
@@ -0,0 +1,39 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: deventer-http
namespace: traefik
spec:
entryPoints:
- web
routes:
- match: HostSNIRegexp(`^[a-z0-9]+-marten\.allarddcs\.nl$`)
services:
- name: dandd
port: 80
tls:
passthrough: true
---
apiVersion: v1
kind: Service
metadata:
name: dandd
namespace: traefik
spec:
ports:
- protocol: TCP
port: 80
targetPort: 31899
---
apiVersion: v1
kind: Endpoints
metadata:
name: dandd
namespace: traefik
subsets:
- addresses:
- ip: 192.168.1.121
ports:
- port: 31899
+31
View File
@@ -0,0 +1,31 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: foundryvtt-http
namespace: foundryvtt
spec:
entryPoints:
- web
routes:
- match: Host(`dandd-dvt.allarddcs.nl`)
kind: Rule
services:
- name: foundryvtt
port: 30000
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: foundryvtt-tls
namespace: foundryvtt
spec:
entryPoints:
- websecure
routes:
- match: Host(`dandd-dvt.allarddcs.nl`)
kind: Rule
services:
- name: foundryvtt
port: 30000
tls:
certResolver: letsencrypt