51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
image:
|
|
repository: sentriz/gonic
|
|
pullPolicy: IfNotPresent
|
|
tag: v0.16.2@sha256:da7f1a0da391e31afc6e8dcac52f1a036e4e89b302c503778014befd246f8d57
|
|
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10023
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
GONIC_LISTEN_ADDR: ":{{ .Values.service.main.ports.main.port }}"
|
|
GONIC_DB_PATH: "{{ .Values.persistence.data.mountPath }}/gonic.db"
|
|
GONIC_CACHE_PATH: "{{ .Values.persistence.cache.mountPath }}"
|
|
GONIC_PLAYLISTS_PATH: "{{ .Values.persistence.playlists.mountPath }}"
|
|
GONIC_PODCAST_PATH: "{{ .Values.persistence.podcast.mountPath }}"
|
|
GONIC_MUSIC_PATH: "{{ .Values.persistence.music.mountPath }}"
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: /data
|
|
cache:
|
|
enabled: true
|
|
mountPath: /cache
|
|
playlists:
|
|
enabled: true
|
|
mountPath: /playlists
|
|
podcast:
|
|
enabled: true
|
|
mountPath: /podcast
|
|
music:
|
|
enabled: true
|
|
mountPath: /music
|
|
|
|
portal:
|
|
open:
|
|
enabled: true
|