This commit is contained in:
parent
4c8129829f
commit
a92c5d2a21
2 changed files with 65 additions and 0 deletions
6
charts/mt5/Chart.yaml
Normal file
6
charts/mt5/Chart.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: v2
|
||||||
|
name: mt5
|
||||||
|
description: MetaTrader 5 mit KasmVNC-Webzugriff und RPyC (mt5linux) auf k3s
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "latest"
|
||||||
59
charts/mt5/values.yaml
Normal file
59
charts/mt5/values.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
image:
|
||||||
|
# Upstream-Image (Debian, ~4 GB, inkl. Python/RPyC). "1.1" = schlanke Variante ohne Python.
|
||||||
|
# Eigenes Build aus dem ausgecheckten Repo: repository auf deine Registry setzen.
|
||||||
|
repository: gmag11/metatrader5_vnc
|
||||||
|
tag: latest
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# KasmVNC-Login für das Web-UI
|
||||||
|
auth:
|
||||||
|
user: trader
|
||||||
|
password: "" # wird von Terraform via set_sensitive gesetzt
|
||||||
|
existingSecret: "" # alternativ: eigenes Secret mit Keys CUSTOM_USER / PASSWORD
|
||||||
|
|
||||||
|
# Zusätzliche MT5-Kommandozeilenoptionen, z.B. "/config:C:\\tester.ini" oder "/login:12345"
|
||||||
|
mt5CmdOptions: ""
|
||||||
|
|
||||||
|
# Zeitzone für Container (linuxserver-Basis)
|
||||||
|
tz: Europe/Zurich
|
||||||
|
puid: "1000"
|
||||||
|
pgid: "1000"
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
webPort: 3000 # KasmVNC Web-UI
|
||||||
|
rpycPort: 8001 # mt5linux RPyC – unauthentifiziert, nur clusterintern nutzen!
|
||||||
|
|
||||||
|
# Nur das Web-UI wird über Ingress exponiert, RPyC bewusst nicht
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
|
className: traefik # k3s-Default
|
||||||
|
host: ""
|
||||||
|
annotations: {}
|
||||||
|
tls: []
|
||||||
|
# - secretName: mt5-tls
|
||||||
|
# hosts: [mt5.example.ch]
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: local-path # k3s-Default
|
||||||
|
size: 20Gi # Wine-Prefix + MT5 + History-Daten
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
existingClaim: ""
|
||||||
|
|
||||||
|
# Chromium/Wine/KasmVNC brauchen mehr als die Default-64MB /dev/shm
|
||||||
|
shmSize: 1Gi
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
limits:
|
||||||
|
memory: 4Gi
|
||||||
|
|
||||||
|
# MT5/Wine-Image ist nur amd64
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/arch: amd64
|
||||||
|
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
Loading…
Reference in a new issue