This commit is contained in:
kento2 2026-08-19 02:15:39 +02:00
parent c4bf3b8bee
commit 8f29a4f56d
10 changed files with 819 additions and 15 deletions

View file

@ -18,6 +18,7 @@ job "lobby" {
name = "lobby"
port = "minecraft"
address_mode = "alloc"
tags = ["minecraft"]
check {
type = "tcp"
interval = "5s"
@ -45,13 +46,8 @@ job "lobby" {
"-xec",
<<-EOF
mkdir -p /mnt/plugins
cd /mnt/plugins
wget \
https://git.lab0x13.site/api/packages/scrow/generic/core-bukkit/UNVERSIONED/CoreBukkit.jar \
https://download.luckperms.net/1652/bukkit/loader/LuckPerms-Bukkit-5.5.65.jar \
https://hangarcdn.papermc.io/plugins/ViaVersion/ViaVersion/versions/5.11.0/PAPER/ViaVersion-5.11.0.jar \
https://hangarcdn.papermc.io/plugins/ViaVersion/ViaBackwards/versions/5.11.0/PAPER/ViaBackwards-5.11.0.jar
ls -l
wget -P /mnt/plugins \
https://git.lab0x13.site/api/packages/scrow/generic/core-bukkit/UNVERSIONED/CoreBukkit.jar
EOF
]
}
@ -61,7 +57,7 @@ job "lobby" {
driver = "docker"
config {
image = "git.lab0x13.site/scrow/papermc:0.1"
image = "git.lab0x13.site/scrow/papermc:0.2"
force_pull = false
ports = ["minecraft"]
volumes = ["../alloc/data:/mnt"]