Public Repository

Last pushed: 2 years ago
Short Description
Working copy of itzg/minecraft-container-yard
Full Description

Minecraft Container Yard

Built from http://github.com/itzg/minecraft-container-yard

This is a 'Minecraft as a Service' provider. It needs to have privileged access to the Docker socket as it spins up a new Minecraft server container on demand. By default, it listens on port 8080.

Fast start

docker run -it --privileged \
  -v /var/run/docker.sock:/docker.sock \
  -p 8080:8080 \
  sshipway/mccy:latest \
  "--mccy.docker-host-uri=unix://localhost/docker.sock" \
  "--security.user.password=password"

Point your web browser at port 8080. Log in as user mccy with password password.

Usage

Set the appropriate value for PORT. Use PASSWORD for the initial login (user: mccy). Use DATADIR to specify volume to mount if you want persistent libraries.

docker run -it --privileged \
  -v /var/run/docker.sock:/docker.sock \
  -v $DATADIR:/data \
  -p $PORT:8080 \
  --name mccy  \
  sshipway/mccy:latest \
  "--mccy.docker-host-uri=unix://localhost/docker.sock" \
  "--security.user.password=$PASSWORD" \
  "--mccy.external-uri=http://"`hostname`":$PORT/"
Docker Pull Command
Owner
sshipway

Comments (0)