Add minecraft server

This commit is contained in:
Salt 2024-02-16 21:10:45 -06:00
parent bb7ca76686
commit ff937116d4
2 changed files with 24 additions and 2 deletions

View File

@ -39,6 +39,7 @@
- game/minecraft-vanilla.yml - game/minecraft-vanilla.yml
- game/minecraft-prominence2.yml - game/minecraft-prominence2.yml
- game/minecraft-stoneblock.yml - game/minecraft-stoneblock.yml
- game/minecraft-aoforion.yml
- game/palworld.yml - game/palworld.yml
- game/satisfactory.yml - game/satisfactory.yml
- game/zomboid.yml - game/zomboid.yml
@ -61,8 +62,8 @@
- /data/shared/downloads - /data/shared/downloads
- /data/terraria/generic/backups - /data/terraria/generic/backups
tags: [ backup ] tags: [ backup ]
- role: docker-tmodloader14 # - role: docker-tmodloader14
tags: [ terraria, tmodloader ] # tags: [ terraria, tmodloader ]
# - role: docker-tmodloader14 # - role: docker-tmodloader14
# vars: # vars:
# tmodloader_external_port: "7778" # tmodloader_external_port: "7778"

View File

@ -0,0 +1,21 @@
# vim:ft=ansible:
- name: docker deploy minecraft - all of fabric orion
docker_container:
name: minecraft-aoforion
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/all-of-fabric/version/1.0.1"
TYPE: "MODRINTH"
VERSION: "1.19.2"
MAX_MEMORY: "8G"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
- "24454:24454/udp"
volumes:
- /data/minecraft/aoforion:/data
tags: [ docker, minecraft ]