minecraft: Fix default values for image & actually use tag in compose
This commit is contained in:
parent
2d6c6078c0
commit
db186d3f79
2 changed files with 3 additions and 3 deletions
|
@ -25,10 +25,10 @@ minecraft_rcon_location: "{{ minecraft_install_location }}/rcon"
|
||||||
minecraft_backup_location: "{{ minecraft_install_location }}/worlds"
|
minecraft_backup_location: "{{ minecraft_install_location }}/worlds"
|
||||||
|
|
||||||
# renovate: depName=docker.io/itzg/minecraft-server
|
# renovate: depName=docker.io/itzg/minecraft-server
|
||||||
minecraft_image_version: "2021.22.0"
|
minecraft_image_version: "latest"
|
||||||
|
|
||||||
# Container versions
|
# Container versions
|
||||||
minecraft_image_tag: "{{ minecraft_image_version }}-java17"
|
minecraft_image_tag: "{{ minecraft_image_version }}"
|
||||||
|
|
||||||
# The minecraft server port that should be exposed
|
# The minecraft server port that should be exposed
|
||||||
minecraft_server_port: 25565
|
minecraft_server_port: 25565
|
||||||
|
|
|
@ -21,7 +21,7 @@ version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
minecraft:
|
minecraft:
|
||||||
image: docker.io/itzg/minecraft-server
|
image: docker.io/itzg/minecraft-server:{{ minecraft_image_tag }}
|
||||||
ports:
|
ports:
|
||||||
- "{{ minecraft_server_port }}:25565"
|
- "{{ minecraft_server_port }}:25565"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Reference in a new issue