add mods and lazytainer

This commit is contained in:
Rémi Heredero 2024-05-11 18:48:56 +02:00
parent 08485f3e1c
commit b79fff0e70
44 changed files with 48 additions and 41 deletions

View File

@ -57,30 +57,38 @@ services:
minecraft-test-docker:
image: itzg/minecraft-server
restart: unless-stopped
restart: "unless-stopped"
stdin_open: true
volumes:
- "./mc:/data"
ports:
- "25565:25565"
- ./mc/data:/data
- ./mc/mods:/mods:ro
- ./mc/icon.png:/icon.png
- ./mc/whitelist.json:/whitelist.json
depends_on:
- lazytainer
network_mode: service:lazytainer
labels:
- "lazytainer.group=minecraft"
environment:
EULA: "TRUE"
TYPE: FORGE
VERSION: "1.20.1"
FORGE_VERSION: "47.2.32"
ENABLE_AUTOPAUSE: "TRUE"
INIT_MEMORY: "256M"
MAX_MEMORY: "25G"
INIT_MEMORY: 128M
MAX_MEMORY: 25G
TZ: "Europe/Berne"
ICON: "/icon.png"
SNOOPER_ENABLED: "FALSE"
#SEED: ""
OVERRIDE_SERVER_PROPERTIES: "TRUE"
MAX_TICK_TIME: "-1"
DIFFICULTY: "normal"
MODE: "creative"
MOTD: "Welcome Home"
# More aggressive settings for demo purposes
AUTOPAUSE_TIMEOUT_INIT: "30"
AUTOPAUSE_TIMEOUT_EST: "10"
MODE: "survival" # survival, creative, adventure, spectator
MOTD: "Bachelor's Minecraft Server"
ENABLE_WHITELIST: "TRUE"
WHITELIST_FILE: "/whitelist.json"
OVERRIDE_WHITELIST: "TRUE"
lazytainer:
image: ghcr.io/vmorganp/lazytainer:master
@ -94,35 +102,8 @@ services:
- lazytainer.group.minecraft.sleepMethod=stop
- lazytainer.group.minecraft.ports=25565
- lazytainer.group.minecraft.minPacketThreshold=2 # Start after two incomming packets
- lazytainer.group.minecraft.inactiveTimeout=60 # 10 minutes, to allow the server to bootstrap. You can probably make this lower later if you want.
- lazytainer.group.minecraft.inactiveTimeout=300
restart: unless-stopped
network_mode: bridge
minecraft:
image: 'itzg/minecraft-server'
restart: unless-stopped
stdin_open: true
tty: true
volumes:
- "./mc:/data"
- "./mods:/mods:ro"
depends_on:
- lazytainer
network_mode: service:lazytainer
environment:
EULA: "TRUE"
TYPE: "FORGE"
TZ: "Europe/Zurich"
MAX_TICK_TIME: "-1"
INIT_MEMORY: 128M
MAX_MEMORY: 20G
#OVERRIDE_SERVER_PROPERTIES: "TRUE"
#ENABLE_AUTOPAUSE: "TRUE"
#AUTOPAUSE_TIMEOUT_INIT: "30"
#AUTOPAUSE_TIMEOUT_EST: "10"
DIFFICULTY: "easy"

BIN
mc/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
mc/mods/Powah-5.0.5.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
mc/mods/matc-1.6.0.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

26
mc/whitelist.json Normal file
View File

@ -0,0 +1,26 @@
[
{
"uuid": "c8491b89-6bd9-48b9-9fcc-8c78d8025984",
"name": "Klagarge"
},
{
"uuid": "d4945f1b-90de-4296-8f83-c4c7088d654a",
"name": "Robibobo1"
},
{
"uuid": "a62e3fc2-24bb-456d-a733-21c2415f4ceb",
"name": "Terrazed"
},
{
"uuid": "57b19806-04dc-4faf-8e0f-547ef953df0d",
"name": "LordBaryhobal"
},
{
"uuid": "76281784-b877-4969-8eca-a35e428e8cea",
"name": "Ranium21"
},
{
"uuid": "3e828bde-20b5-4956-84d4-6b87c1132298",
"name": "Ranium"
}
]