51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
image:
|
|
repository: sentriz/gonic
|
|
pullPolicy: IfNotPresent
|
|
tag: v0.16.4@sha256:22e2c9de7a95606f196e1828e6ba0224aa29245cba42cb19eeb4322f6dae4c7b
|
|
|
|
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
|