fix(minecraft-java): Open rcon port (#2252)

This commit is contained in:
Stavros Kois 2022-03-23 06:13:05 +02:00 committed by GitHub
parent 1b6291e181
commit 0438cc2993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 68 additions and 0 deletions

View File

@ -630,6 +630,66 @@ questions:
schema:
type: int
default: 25565
- variable: rcon
label: "RCON Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: rcon
label: "RCON Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 25575
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: enabled
label: "Enable the port"
schema:
type: boolean
default: true
- variable: protocol
label: "Port Type"
schema:
type: string
default: "TCP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 25575
- variable: serviceexpert
group: "Networking and Services"

View File

@ -68,3 +68,10 @@ service:
main:
port: 25565
targetPort: 25565
rcon:
enabled: true
ports:
rcon:
enabled: true
port: 25575
targetPort: 25575

View File

@ -373,6 +373,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa
| joplin-server | main | main | 22300 | TCP | |
| verysync | data | data | 22330 | TCP | |
| minecraft-java | main | main | 25565 | TCP | |
| minecraft-java | rcon | rcon | 25575 | TCP | |
| storj-node | coretcp | coretcp | 28967 | TCP | |
| storj-node | coreudp | coreudp | 28967 | UDP | |
| omada-controller | omada-udp | omada-udp1 | 29810 | UDP | |