Try a new minecraft container thing
This commit is contained in:
parent
55881cdcdf
commit
95abfdd506
@ -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 ]
|
||||
|
19
playbooks/tasks/game/minecraft-create-extra.yml
Normal file
19
playbooks/tasks/game/minecraft-create-extra.yml
Normal 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 ]
|
Loading…
Reference in New Issue
Block a user