2022-11-28 07:40:50 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/game-server-monitor
|
|
|
|
pullPolicy: IfNotPresent
|
2023-09-07 02:39:41 +00:00
|
|
|
tag: v2.14.0@sha256:0ca524b74fa68bfdab7c68d73dde42fd4f921912cca4e450c46e2a5c4d424944
|
2022-11-28 07:40:50 +00:00
|
|
|
|
|
|
|
securityContext:
|
2023-04-11 10:07:17 +00:00
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2022-11-28 07:40:50 +00:00
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10230
|
|
|
|
protocol: http
|
2022-11-28 07:40:50 +00:00
|
|
|
|
|
|
|
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
|
2023-07-04 12:37:37 +00:00
|
|
|
# factorio
|
|
|
|
factorio_username: ""
|
|
|
|
factorio_auth_token: ""
|
2022-11-28 07:40:50 +00:00
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
workload:
|
2022-11-28 07:40:50 +00:00
|
|
|
main:
|
2023-04-11 10:07:17 +00:00
|
|
|
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: {}
|
2022-11-28 07:40:50 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /app/data
|
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
database: discord_gsm
|
|
|
|
user: discord_gsm
|
2022-11-28 07:40:50 +00:00
|
|
|
|
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|