add outline wiki

This commit is contained in:
2025-04-12 22:28:21 +02:00
parent 837371313b
commit 8fbe87890c
5 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: outline
namespace: outline-wiki
labels:
app: outline
spec:
replicas: 1
selector:
matchLabels:
app: outline
template:
metadata:
labels:
app: outline
spec:
containers:
- name: outline
image: outlinewiki/outline:0.82.0
ports:
- containerPort: 8089
envFrom:
- secretRef:
name: outline-secrets
env:
- name: PORT
value: "8089"
volumeMounts:
- name: config
mountPath: /config
volumes:
- name: config
configMap:
name: outline-config

View File

@@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: outline-ingress
namespace: outline-wiki
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- outline.prod.panic.haus
secretName: outline-wiki-tls
rules:
- host: outline.panic.haus
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: outline
port:
number: 8089

View File

@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: outline-wiki
resources:
- deploy.yaml
- service.yaml
- secret.yaml
- ingress.yaml

View File

@@ -0,0 +1,34 @@
apiVersion: v1
kind: Secret
metadata:
name: outline-secrets
namespace: outline-wiki
type: Opaque
stringData:
SECRET_KEY: eae7766055bb20e0b6fb6838cc889121697e59a2b82fd1590dc47a91489acd95
UTILS_SECRET: f9e0e1158b7ec2239b465c602172493ee2d1b0765ca6b659b35f64959408492d
DATABASE_URL: postgres://outline:ULYpprqxQeS2rSBXF8NxEr4FhJkUAwhWJtkwZij6XwBDSvUUKeAifBBG885fPSmd@postgres-base-rw.postgres/outlinedb
REDIS_URL: redis://redis-lb.redis.svc.cluster.local:6379
URL: https://outline.prod.panic.haus
PGSSLMODE: disable
AWS_ACCESS_KEY_ID: rjtPFRp52DgmWb4kdsyiFKjtBMxYSaow
AWS_SECRET_ACCESS_KEY: kabSK8RXcONjO8I7GNfJ03WMueJ7fk6z
AWS_S3_UPLOAD_BUCKET_URL: https://s3.minio.panic.haus/
AWS_REGION: cluster-panic-haus
AWS_S3_UPLOAD_BUCKET_NAME: outline
FILE_STORAGE_UPLOAD_MAX_SIZE: "26214400"
AWS_S3_FORCE_PATH_STYLE: "true"
AWS_S3_ACL: private
OIDC_DISPLAY_NAME: beeSSO
OIDC_CLIENT_ID: outline
OIDC_CLIENT_SECRET: bPXXFTtIBygDJX9nnPMl9JiM0Qswn6hP
OIDC_AUTH_URI: https://sso.beatrice.wtf/auth/realms/master/protocol/openid-connect/auth?scope=openid
OIDC_TOKEN_URI: https://sso.beatrice.wtf/auth/realms/master/protocol/openid-connect/token?scope=openid
OIDC_USERINFO_URI: https://sso.beatrice.wtf/auth/realms/master/protocol/openid-connect/userinfo?scope=openid
SMTP_HOST: mail.mind-overflow.net
SMTP_PORT: "465"
SMTP_USERNAME: cloud@mind-overflow.net
SMTP_PASSWORD: PcYchuLLUyfT2gvY4Tx7wQ575Tnqjx84zVNoP6Mb
SMTP_FROM_EMAIL: cloud@mind-overflow.net
SMTP_REPLY_EMAIL: cloud@mind-overflow.net
SMTP_SECURE: "true"

View File

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