87 lines
2.0 KiB
YAML
87 lines
2.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/flowise
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.3.4@sha256:101d143df8a238da4e6c619f5e6b5852cbd55dd09f48b07f102a5d5a15326744
|
|
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 3000
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
path: "/"
|
|
readiness:
|
|
path: "/"
|
|
startup:
|
|
path: "/"
|
|
args:
|
|
- npx
|
|
- flowise
|
|
- start
|
|
env:
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# Set paths
|
|
APIKEY_PATH: "{{.Values.persistence.api.mountPath }}"
|
|
LOG_PATH: "{{.Values.persistence.logs.mountPath }}"
|
|
# Postgres DB
|
|
DATABASE_TYPE: postgres
|
|
OVERRIDE_DATABASE: true
|
|
DATABASE_HOST:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
DATABASE_PORT: 5432
|
|
DATABASE_USER: "{{ .Values.cnpg.main.user }}"
|
|
DATABASE_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
|
|
# child | main
|
|
EXECUTION_MODE: main
|
|
# error | warn | info | verbose | debug
|
|
LOG_LEVEL: debug
|
|
DEBUG: true
|
|
# optional auth
|
|
FLOWISE_USERNAME: user
|
|
FLOWISE_PASSWORD: 1234
|
|
PASSPHRASE:
|
|
secretKeyRef:
|
|
name: flowise-secrets
|
|
key: PASSPHRASE
|
|
# TOOL_FUNCTION_BUILTIN_DEP
|
|
# TOOL_FUNCTION_EXTERNAL_DEP
|
|
|
|
persistence:
|
|
api:
|
|
enabled: true
|
|
mountPath: "/config/api"
|
|
logs:
|
|
enabled: true
|
|
mountPath: "/config/logs"
|
|
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: flowise
|
|
database: flowise
|
|
|
|
portal:
|
|
open:
|
|
enabled: true
|