Try a new minecraft container thing

This commit is contained in:
Salt 2023-05-17 19:18:04 -05:00
parent 55881cdcdf
commit 95abfdd506
2 changed files with 22 additions and 1 deletions

View File

@ -33,8 +33,9 @@
- web/srv.yml
- web/synapse.yml
- web/transmission.yml
- game/satisfactory.yml
- game/factorio.yml
- game/minecraft-create-extra.yml
- game/satisfactory.yml
tags: [ always ]
roles:
- role: backup
@ -47,6 +48,7 @@
- /data/gitea/data/gitea/log
- /data/minecraft/oldpack/backups
- /data/minecraft/stoneblock/backups
- /data/minecraft/create-extra/backups
- /data/shared/media
- /data/terraria/generic/backups
tags: [ backup ]

View File

@ -0,0 +1,19 @@
# vim:ft=ansible:
- name: docker deploy minecraft - create extra
docker_container:
name: minecraft-create-extra
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-extra/version/1.0.0"
TYPE: "quilt"
VERSION: "1.19.2"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
volumes:
- /data/minecraft/create-extra:/data
tags: [ docker, minecraft ]