2022-03-15 21:11:05 +00:00
|
|
|
image:
|
2022-03-16 20:16:05 +00:00
|
|
|
repository: tccr.io/truecharts/koel
|
2022-05-19 10:21:42 +00:00
|
|
|
tag: latest@sha256:5e0c333fce779a2c7b4badefc067be983ad16d4a84f4257e325109d288eb96c9
|
2022-03-15 21:11:05 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2022-06-17 08:24:54 +00:00
|
|
|
secretEnv:
|
|
|
|
LASTFM_API_KEY: ""
|
|
|
|
LASTFM_API_SECRET: ""
|
|
|
|
YOUTUBE_API_KEY: ""
|
|
|
|
|
2022-03-15 21:11:05 +00:00
|
|
|
env:
|
2022-03-16 20:16:05 +00:00
|
|
|
DB_CONNECTION: "mysql"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
2022-03-16 22:11:53 +00:00
|
|
|
DB_PORT: "3306"
|
2022-03-15 21:11:05 +00:00
|
|
|
FORCE_HTTPS: false
|
|
|
|
MEMORY_LIMIT: 2048
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
2022-03-16 20:16:05 +00:00
|
|
|
name: mariadbcreds
|
2022-03-15 21:11:05 +00:00
|
|
|
key: plainhost
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
2022-03-16 20:16:05 +00:00
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
2022-03-15 21:11:05 +00:00
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: koel-secrets
|
|
|
|
key: APP_KEY
|
|
|
|
|
2022-06-07 17:41:19 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10185
|
|
|
|
targetPort: 80
|
|
|
|
|
2022-03-16 20:16:05 +00:00
|
|
|
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"
|
2022-03-16 22:11:53 +00:00
|
|
|
- name: DB_PORT
|
|
|
|
value: "3306"
|
2022-03-16 20:16:05 +00:00
|
|
|
- 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"]
|
|
|
|
|
2022-03-15 21:11:05 +00:00
|
|
|
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"
|
|
|
|
|
2022-03-16 20:16:05 +00:00
|
|
|
mariadb:
|
2022-03-15 21:11:05 +00:00
|
|
|
enabled: true
|
2022-03-16 20:16:05 +00:00
|
|
|
mariadbUsername: koel
|
|
|
|
mariadbDatabase: koel
|
|
|
|
existingSecret: "mariadbcreds"
|