lingarr correction

This commit is contained in:
Tomás Limpinho
2026-04-30 13:03:00 +01:00
parent bdd082160f
commit e200933337
9 changed files with 314 additions and 22 deletions

View File

@ -15,10 +15,12 @@ spec:
spec:
containers:
- name: lingarr
image: lingarr/lingarr:latest
image: lingarr/lingarr:main
ports:
- containerPort: 9876
env:
- name: TZ
value: "UTC"
- name: ASPNETCORE_URLS
value: "http://+:9876"
- name: WHISPER_BASE_URL
@ -27,10 +29,48 @@ spec:
value: "auto"
- name: TARGET_LANGUAGE
value: "pt"
- name: DB_CONNECTION
value: postgresql
- name: DB_HOST
value: 'stolon-proxy-service.postgresql.svc.cluster.local'
- name: DB_PORT
value: '5432'
- name: DB_USERNAME
valueFrom:
secretKeyRef:
name: lingarr-secret
key: username
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: lingarr-secret
key: password
- name: DB_DATABASE
valueFrom:
secretKeyRef:
name: lingarr-secret
key: maindb
volumeMounts:
- name: config
mountPath: /app/config
- name: runtimeconfig
mountPath: /app/Lingarr.Server.runtimeconfig.json
subPath: Lingarr.Server.runtimeconfig.json
readOnly: true
- name: tv
mountPath: /tv
- name: anime
mountPath: /anime
volumes:
- name: config
persistentVolumeClaim:
claimName: lingarr-config-pvc
- name: runtimeconfig
configMap:
name: lingarr-configmap
- name: tv
persistentVolumeClaim:
claimName: sonarr-tv-pvc
- name: anime
persistentVolumeClaim:
claimName: sonarr-anime-pvc