78 lines
1.5 KiB
YAML
78 lines
1.5 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/game-server-monitor
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.11.0@sha256:f072466ae74a89e905eb8c0ccca48befa70a6d529efdffb7e4382153539e86f2
|
|
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10230
|
|
protocol: http
|
|
|
|
gsm:
|
|
# Server Config
|
|
workers: 2
|
|
timeout: 90
|
|
# Bot Config
|
|
|
|
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
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
type: http
|
|
readiness:
|
|
type: http
|
|
startup:
|
|
type: http
|
|
envFrom:
|
|
- secretRef:
|
|
name: "gsm-secret"
|
|
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
|
|
env: {}
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /app/data
|
|
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
database: discord_gsm
|
|
user: discord_gsm
|
|
|
|
portal:
|
|
open:
|
|
enabled: true
|