Reset git history for making manifests public

This commit is contained in:
2026-05-31 22:14:43 +02:00
commit 0140810d60
411 changed files with 42163 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: docuseal-data-pvc
namespace: docuseal
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-static
volumeName: docuseal-data
resources:
requests:
storage: 10Gi

View File

@@ -0,0 +1,66 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: docuseal
namespace: docuseal
spec:
replicas: 1
selector:
matchLabels:
app: docuseal
serviceName: docuseal
template:
metadata:
labels:
app: docuseal
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 10
containers:
- name: docuseal
image: docuseal/docuseal:latest
imagePullPolicy: Always
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
ports:
- containerPort: 3000
name: http
env:
- name: SECRET_KEY_BASE
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: secret_key_base
- name: DB_USER
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_user
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_password
- name: DB_NAME
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_name
- name: DATABASE_URL
value: "postgresql://$(DB_USER):$(DB_PASSWORD)@docuseal-postgresql:5432/$(DB_NAME)"
- name: HOST
value: "docuseal.jsme.be"
- name: FORCE_SSL
value: "false"
volumeMounts:
- name: data
mountPath: /data/docuseal
volumes:
- name: data
persistentVolumeClaim:
claimName: docuseal-data-pvc

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: docuseal
namespace: docuseal
spec:
selector:
app: docuseal
ports:
- name: http
port: 3000
targetPort: 3000
type: ClusterIP

46
docuseal/httproute.yaml Normal file
View File

@@ -0,0 +1,46 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: docuseal-route
namespace: docuseal
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: gateway-internal
namespace: envoy-gateway
sectionName: docuseal
hostnames:
- "docuseal.jsme.be"
rules:
- matches:
- path:
type: PathPrefix
value: /
filters:
- type: RequestHeaderModifier
requestHeaderModifier:
set:
- name: X-Forwarded-Host
value: "docuseal.jsme.be"
- name: X-Forwarded-Proto
value: https
- type: ResponseHeaderModifier
responseHeaderModifier:
set:
- name: Strict-Transport-Security
value: "max-age=31536000; includeSubDomains"
- name: X-Content-Type-Options
value: nosniff
- name: X-Frame-Options
value: SAMEORIGIN
- name: Referrer-Policy
value: strict-origin-when-cross-origin
- name: Permissions-Policy
value: "camera=(), microphone=(), geolocation=(), payment=()"
backendRefs:
- name: docuseal
port: 3000
kind: Service
group: ""
weight: 1

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: docuseal-postgresql-pvc
namespace: docuseal
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 5Gi

View File

@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: docuseal-postgresql
namespace: docuseal
spec:
replicas: 1
selector:
matchLabels:
app: docuseal-postgresql
serviceName: docuseal-postgresql
template:
metadata:
labels:
app: docuseal-postgresql
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
containers:
- name: docuseal-postgresql
image: postgres:18
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
ports:
- containerPort: 5432
volumeMounts:
- name: docuseal-postgresql-database
mountPath: /var/lib/postgresql/pgdata
env:
- name: PGDATA
value: /var/lib/postgresql/pgdata/data
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_password
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_user
- name: POSTGRES_DB
valueFrom:
secretKeyRef:
name: docuseal-secrets
key: db_name
volumes:
- name: docuseal-postgresql-database
persistentVolumeClaim:
claimName: docuseal-postgresql-pvc

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: docuseal-postgresql
namespace: docuseal
spec:
selector:
app: docuseal-postgresql
type: ClusterIP
ports:
- name: postgres
protocol: TCP
port: 5432
targetPort: 5432