19 lines
676 B
Django/Jinja
19 lines
676 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
services:
|
|
server:
|
|
image: itzg/minecraft-server:{{ apps_vars.minecraft.version }}
|
|
restart: always
|
|
environment:
|
|
EULA: true
|
|
TYPE: PAPER
|
|
PLUGINS: |
|
|
https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot
|
|
https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/spigot
|
|
ports:
|
|
- {{ apps_vars.minecraft.port }}:{{ apps_vars.minecraft.port }}/tcp
|
|
- {{ apps_vars.minecraft.geyser_port }}:{{ apps_vars.minecraft.geyser_port }}/udp
|
|
volumes:
|
|
- "./data/server:/data:rw"
|