89 lines
3 KiB
YAML
89 lines
3 KiB
YAML
---
|
|
# Default variables for the minecraft role
|
|
|
|
# Infrastructure
|
|
# Ansible instructions to deploy the infrastructure
|
|
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
|
|
# Copyright (C) 2020 Saibotk
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, version 3 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# The install locations
|
|
minecraft_install_location: "/srv/minecraft"
|
|
minecraft_data_location: "{{ minecraft_install_location }}/data"
|
|
minecraft_rcon_location: "{{ minecraft_install_location }}/rcon"
|
|
minecraft_backup_location: "{{ minecraft_install_location }}/worlds"
|
|
minecraft_telegraf_location: "{{ minecraft_install_location }}/telegraf"
|
|
|
|
# renovate: depName=docker.io/itzg/minecraft-server
|
|
minecraft_image_version: "2024.3.0"
|
|
|
|
# Container versions
|
|
minecraft_image_tag: "{{ minecraft_image_version }}"
|
|
|
|
# renovate: depName=docker.io/library/telegraf
|
|
minecraft_telegraf_version: "1.26.1"
|
|
|
|
# Changing this image may also require changing the UID / GID below,
|
|
# to set the correct permissions
|
|
minecraft_telegraf_image_version: "{{ minecraft_telegraf_version }}-alpine"
|
|
|
|
# Telegraf config user & group id
|
|
# This is used for the config folder that is mounted to the container
|
|
minecraft_telegraf_config_uid: 100
|
|
minecraft_telegraf_config_gid: 101
|
|
|
|
# The minecraft server port that should be exposed
|
|
minecraft_server_port: 25565
|
|
|
|
# The certresolver traefik should use for the domain
|
|
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
|
|
|
|
# The RCON password
|
|
minecraft_rcon_password: "CHANGEME"
|
|
|
|
# The minecraft container configuration as environment variables (see https://github.com/itzg/docker-minecraft-server)
|
|
minecraft_config: []
|
|
|
|
# This config allows to add new portbindings to the minecraft server, eg. for voicechat.
|
|
#
|
|
# Example entry:
|
|
# - 24454:24454/udp
|
|
minecraft_additional_ports: []
|
|
|
|
# IPv6 ULA config for the bridge network used by docker-ipv6-nat
|
|
minecraft_ipv6:
|
|
enabled: false
|
|
subnet: "fd9e:21a7:a92c:2325::/64"
|
|
|
|
# Minecraft telegraf configuration, allows to configure a monitoring setup for the minecraft server
|
|
minecraft_telegraf:
|
|
enabled: false
|
|
influxdb_database: "telegraf"
|
|
# Your influxDB hosts
|
|
influxdb_endpoints:
|
|
- "influxdb.example.com"
|
|
influxdb_username: telegraf
|
|
influxdb_password: ""
|
|
influxdb_retention_policy: "minecraft"
|
|
influxdb_retention_policy_tag: ""
|
|
plugins: []
|