2022-03-15 21:11:05 +00:00
|
|
|
image:
|
2022-03-16 20:16:05 +00:00
|
|
|
repository: tccr.io/truecharts/koel
|
2022-07-25 18:36:51 +00:00
|
|
|
tag: latest@sha256:c646f14bb5221865b012bf918501926ab49fc161e1adeb2945b4c40962b86c78
|
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"
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|