initial opencode commit
This commit is contained in:
14
roles/minecraft/templates/minecraft.pod.j2
Normal file
14
roles/minecraft/templates/minecraft.pod.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Minecraft pod (Java server + Geyser bridge)
|
||||
|
||||
[Pod]
|
||||
PublishPort={{ minecraft_port }}:25565/tcp
|
||||
{% if minecraft_udp | bool %}
|
||||
PublishPort={{ minecraft_port }}:25565/udp
|
||||
{% endif %}
|
||||
{% if enable_geyser | bool %}
|
||||
PublishPort={{ geyser_port }}:{{ geyser_port }}/udp
|
||||
{% endif %}
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user