Updates to LocalAI, Discourse, and Owncast

This commit is contained in:
Eric Meehan 2025-10-29 09:22:15 -04:00
parent b1cd53a9d8
commit 460fdedf50
4 changed files with 36 additions and 3 deletions

View File

@ -22,6 +22,8 @@
password: "{{ discourse_admin_password }}" password: "{{ discourse_admin_password }}"
image: image:
debug: false debug: false
repository: bitnamilegacy/discourse
tag: 3.4.7-debian-12-r0
service: service:
externalTrafficPolicy: Local externalTrafficPolicy: Local
discourse: discourse:
@ -32,6 +34,7 @@
- https://github.com/discourse/discourse-activity-pub - https://github.com/discourse/discourse-activity-pub
- https://github.com/discourse/discourse-openid-connect - https://github.com/discourse/discourse-openid-connect
- https://github.com/jonmbake/discourse-ldap-auth - https://github.com/jonmbake/discourse-ldap-auth
- https://github.com/discourse/discourse-math
- https://github.com/discourse/discourse-post-voting - https://github.com/discourse/discourse-post-voting
- https://github.com/discourse/discourse-prometheus - https://github.com/discourse/discourse-prometheus
- https://github.com/discourse/discourse-reactions - https://github.com/discourse/discourse-reactions
@ -58,6 +61,8 @@
tls: true tls: true
postgresql: postgresql:
enabled: true enabled: true
image:
repository: bitnamilegacy/postgresql
auth: auth:
enablePostgresUser: true enablePostgresUser: true
postgresPassword: "{{ discourse_admin_password }}" postgresPassword: "{{ discourse_admin_password }}"
@ -67,5 +72,7 @@
size: 2Ti size: 2Ti
redis: redis:
enabled: true enabled: true
image:
repository: bitnamilegacy/redis
auth: auth:
password: "{{ discourse_admin_password }}" password: "{{ discourse_admin_password }}"

View File

@ -17,12 +17,21 @@
release_namespace: localai release_namespace: localai
create_namespace: true create_namespace: true
values: values:
service:
type: LoadBalancer
deployment: deployment:
image: image:
tag: latest-gpu-nvidia-cuda-12 tag: latest-gpu-nvidia-cuda-12
runtimeClassName: nvidia runtimeClassName: nvidia
secretEnv:
- name: LOCALAI_DISABLE_WEBUI
value: "true"
- name: LOCALAI_API_KEY
value: "{{ localai_api_keys | join(',') }}"
- name: LOCALAI_WATCHDOG_IDLE
value: "true"
- name: LOCALAI_WATCHDOG_IDLE_TIMEOUT
value: "5m"
- name: LOCALAI_WATCHDOG_BUSY
value: "true"
resources: resources:
limits: limits:
nvidia.com/gpu: 1 nvidia.com/gpu: 1
@ -36,3 +45,17 @@
operator: Equal operator: Equal
value: GPU value: GPU
effect: NoSchedule effect: NoSchedule
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: ca-issuer
hosts:
- host: localai.eom.dev
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: localai-tls
hosts:
- localai.eom.dev

View File

@ -3,4 +3,4 @@
- name: Deploy - name: Deploy
include_tasks: "{{ item }}" include_tasks: "{{ item }}"
loop: loop:
- nextcloud.yaml - localai.yaml

View File

@ -49,6 +49,9 @@
containers: containers:
- name: owncast - name: owncast
image: owncast/owncast:0.2.0 image: owncast/owncast:0.2.0
resources:
requests:
cpu: 1.5
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /app/data mountPath: /app/data