Files
truecharts/charts/dev/koel/values.yaml
Kjeld Schouten 11272a4456 chore(incubator): make things work with new common part 3 (#15994)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2023-12-15 22:41:48 +01:00

104 lines
2.7 KiB
YAML

image:
pullPolicy: IfNotPresent
repository: phanan/koel
tag: latest@sha256:55b8d583f415371e94ced5bb9eebd45204c14170d26a8fb7cb99b698886949f6
mariadb:
enabled: true
existingSecret: mariadbcreds
mariadbDatabase: koel
mariadbUsername: koel
persistence:
covers:
enabled: true
mountPath: /var/www/html/public/img/covers
music:
enabled: true
mountPath: /music
searchindex:
enabled: true
mountPath: /var/www/html/storage/search-indexes
portal:
open:
enabled: true
secretEnv:
LASTFM_API_KEY: ""
LASTFM_API_SECRET: ""
YOUTUBE_API_KEY: ""
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
service:
main:
ports:
main:
port: 10185
targetPort: 80
workload:
main:
podSpec:
containers:
main:
env:
APP_KEY:
secretKeyRef:
key: APP_KEY
name: koel-secrets
DB_CONNECTION: mysql
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
DB_HOST:
secretKeyRef:
key: plainhost
name: mariadbcreds
DB_PASSWORD:
secretKeyRef:
key: mariadb-password
name: mariadbcreds
DB_PORT: "3306"
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
FORCE_https: false
MEMORY_LIMIT: 2048
initContainers:
initdb:
type: install
enabled: true
command:
- php
- artisan
- koel:init
- --no-assets
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:
key: plainhost
name: mariadbcreds
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: mariadb-password
name: mariadbcreds
- name: APP_KEY
valueFrom:
secretKeyRef:
key: APP_KEY
name: koel-secrets
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- mountPath: /music
name: music
- mountPath: /var/www/html/public/img/covers
name: covers
- mountPath: /var/www/html/storage/search-indexes
name: searchindex