mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
79 lines
1.6 KiB
YAML
79 lines
1.6 KiB
YAML
subdomain: mealie
|
|
|
|
image:
|
|
repository: ghcr.io/mealie-recipes/mealie
|
|
tag: latest@sha256:58b54bca4c729fcc7f272cfac5086623866430956838de3f5d763fcaf9e64115
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Deployment configuration
|
|
deployment:
|
|
strategy: Recreate
|
|
replicas: 1
|
|
|
|
# Container configuration
|
|
container:
|
|
port: 9000
|
|
healthProbe:
|
|
type: tcpSocket
|
|
port: http # Use named port
|
|
|
|
# Service configuration
|
|
service:
|
|
port: 80
|
|
type: ClusterIP
|
|
|
|
# Volume configuration
|
|
volumes:
|
|
- name: data
|
|
mountPath: /app/data
|
|
persistentVolumeClaim: data
|
|
|
|
# Persistent volume claims
|
|
persistentVolumeClaims:
|
|
- name: data
|
|
size: 1Gi
|
|
storageClassName: persistent
|
|
|
|
# VirtualService configuration
|
|
virtualService:
|
|
enabled: true
|
|
gateways:
|
|
public: true
|
|
private: true
|
|
|
|
# OIDC client configuration
|
|
oidc:
|
|
enabled: true
|
|
redirectUris:
|
|
- "/login"
|
|
subjectMode: user_username
|
|
|
|
# Environment variables
|
|
env:
|
|
TZ:
|
|
value: "{timezone}"
|
|
BASE_URL:
|
|
value: "https://{subdomain}.{domain}"
|
|
ALLOW_SIGNUP: "false"
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
OIDC_AUTH_ENABLED: "true"
|
|
OIDC_SIGNUP_ENABLED: "true"
|
|
OIDC_USER_GROUP: "mealie-users"
|
|
OIDC_ADMIN_GROUP: "admin"
|
|
OIDC_AUTO_REDIRECT: "true"
|
|
OIDC_PROVIDER_NAME: Authentik
|
|
OIDC_REMEMBER_ME: "true"
|
|
OIDC_SIGNING_ALGORITHM: RS256
|
|
OIDC_CLIENT_ID:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: "{release}-oidc-credentials"
|
|
key: clientId
|
|
OIDC_CLIENT_SECRET:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: "{release}-oidc-credentials"
|
|
key: clientSecret
|
|
OIDC_CONFIGURATION_URL: "https://auth.{domain}/application/o/{namespace}-{release}/.well-known/openid-configuration" # TODO: fix!
|