scripts/docker-fogcutter/minecraft/launch.sh

13 lines
316 B
Bash
Executable File

#!/bin/bash
docker run \
--name minecraft \
--detach \
--restart unless-stopped \
--env EULA=TRUE \
--env MAX_MEMORY=8G \
--volume $PWD/data:/data \
--publish 10.42.0.203:25565:25565 \
--publish [2601:5c0:c100:6e65:96c6:91ff:feab:69e3]:25565:25565 \
itzg/minecraft-server:latest