infrastructure/roles/minecraft
2024-02-22 03:42:59 +01:00
..
defaults automation: Update minecraft-image Docker tag to v2024.2.2 2024-02-08 21:04:40 +00:00
handlers !chore: Migrate to docker_compose_v2 2024-02-22 00:37:48 +01:00
meta !chore(docker-compose): Remove deprecated docker-compose python library 2024-02-22 01:29:19 +01:00
tasks fix(docker-compose): Use docker compose plugin for validation 2024-02-22 03:42:59 +01:00
templates telegraf: Disable read-only for now to make it work again 2021-12-20 01:43:28 +01:00
README.md Initial commit 2020-08-10 01:37:13 +02:00

Minecraft

Setup a Minecraft server container (https://github.com/itzg/docker-minecraft-server) with an optional RCON interface.

Requirements

You will need to have docker, docker-compose and optionally traefik installed or declared as dependencies with their respective roles.

This role assumes that (if your are using the RCON webinterface) you have setup traefik with an endpoint called websecure.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Global variables, that are used:

Only when the webinterface is enabled:

  • proxy_network: Defined by the local traefik installation, this is the shared proxy network used by traefik to reach the containers. (optional)
  • proxy_hiddenservice: Defined by the local traefik installation, this is used to generate the alt-svc header for the alternative Tor domain. (optional)

Dependencies

  • docker
  • docker-compose
  • traefik (optional, only when enabling the webinterface)

License

GPL-3.0-only