TrueChartsClone/charts/incubator/discordgsm/values.yaml

74 lines
1.3 KiB
YAML

image:
repository: tccr.io/truecharts/game-server-monitor
pullPolicy: IfNotPresent
tag: 2.9.1@sha256:e225a3069b29e3dbc007fde1d9f47e0bc353546e780a66de382bd0283f25de90
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
command:
- /bin/sh
- -c
- |
gunicorn \
--bind 0.0.0.0:{{ .Values.service.main.ports.main.port }} \
--workers={{ .Values.gsm.workers }} \
--worker-class=gthread app:app \
--timeout {{ .Values.gsm.timeout }} & \
python -u main.py
gsm:
# Server Config
workers: 2
timeout: 90
# Bot Config
# Fake Token for CI
app_token: ""
whitelist_guilds: []
app_activity_type: 3
app_activity_name: ""
app_presence_advertise: false
task_query_server: 60
command_query_public: false
command_query_cooldown: 5
web_api_enable: false
postgres_ssl_mode: disable
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-gsm-secret'
service:
main:
ports:
main:
port: 10230
protocol: HTTP
probes:
liveness:
type: HTTP
readiness:
type: HTTP
startup:
type: HTTP
persistence:
config:
enabled: true
mountPath: /app/data
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlDatabase: discord_gsm
postgresqlUsername: discord_gsm
portal:
enabled: true