Add RCON
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-14 19:47:00 -05:00
parent 8b897d02b1
commit 3da8775279
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 8 additions and 0 deletions

View File

@ -18,4 +18,7 @@ spec:
- name: minecraft
port: 25565
targetPort: 25565
- name: minecraft-rcon
port: 28016
targetPort: 28016
type: LoadBalancer

View File

@ -19,9 +19,14 @@ spec:
env:
- name: EULA
value: "TRUE"
- name: ENABLE_RCON
value: "TRUE"
- name: RCON_PORT
value: 28016
ports:
- containerPort: 25565
- containerPort: 28016
#readinessProbe:
# exec:
# command: [ "/usr/local/bin/mc-monitor", "status", "--host", "localhost" ]