2022-11-15 00:14:12 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/koel
|
2022-11-17 20:08:24 +00:00
|
|
|
tag: latest@sha256:93fbadd1ae2b45b0a8afebd5c798e910b167c5d8566b9510590bf3d9c2675978
|
2022-11-15 00:14:12 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
secretEnv:
|
|
|
|
LASTFM_API_KEY: ""
|
|
|
|
LASTFM_API_SECRET: ""
|
|
|
|
YOUTUBE_API_KEY: ""
|
|
|
|
|
|
|
|
env:
|
|
|
|
DB_CONNECTION: "mysql"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_PORT: "3306"
|
|
|
|
FORCE_HTTPS: false
|
|
|
|
MEMORY_LIMIT: 2048
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: koel-secrets
|
|
|
|
key: APP_KEY
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10185
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
installContainers:
|
|
|
|
initdb:
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
volumeMounts:
|
|
|
|
- name: music
|
|
|
|
mountPath: "/music"
|
|
|
|
- name: covers
|
|
|
|
mountPath: "/var/www/html/public/img/covers"
|
|
|
|
- name: searchindex
|
|
|
|
mountPath: "/var/www/html/storage/search-indexes"
|
|
|
|
env:
|
|
|
|
- name: DB_CONNECTION
|
|
|
|
value: "mysql"
|
|
|
|
- name: DB_PORT
|
|
|
|
value: "3306"
|
|
|
|
- name: DB_USERNAME
|
|
|
|
value: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
- name: DB_DATABASE
|
|
|
|
value: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
- name: DB_HOST
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
|
|
|
- name: DB_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
- name: APP_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: koel-secrets
|
|
|
|
key: APP_KEY
|
|
|
|
command: ["php", "artisan", "koel:init", "--no-assets"]
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
music:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/music"
|
|
|
|
covers:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/www/html/public/img/covers"
|
|
|
|
searchindex:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/www/html/storage/search-indexes"
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: koel
|
|
|
|
mariadbDatabase: koel
|
|
|
|
existingSecret: "mariadbcreds"
|
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|