minecraft: Add option to enable rcon
This commit is contained in:
parent
f6112a31bd
commit
64b58bbfca
2 changed files with 4 additions and 1 deletions
|
@ -39,6 +39,9 @@ minecraft_rcon_certresolver: letsencrypt_http
|
|||
# The domain under which the rcon web console/websocket is reachable (used by traefik)
|
||||
minecraft_rcon_domain: minecraft.example.com
|
||||
|
||||
# Should RCON be enabled on the minecraft server?
|
||||
minecraft_enable_rcon: true
|
||||
|
||||
# Should the RCON webinterface be deployed?
|
||||
minecraft_enable_rcon_web: false
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ services:
|
|||
- no-new-privileges
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
ENABLE_RCON: "{{ minecraft_enable_rcon_web | bool | lower }}"
|
||||
ENABLE_RCON: "{{ minecraft_enable_rcon | bool | lower }}"
|
||||
RCON_PASSWORD: "{{ minecraft_rcon_password }}"
|
||||
RCON_PORT: 28016
|
||||
# enable env variable replacement
|
||||
|
|
Loading…
Add table
Reference in a new issue