Sign inSign up

sshipway/mccy

By sshipway

•Updated over 10 years ago

Working copy of itzg/minecraft-container-yard

Image
0

1.1K

sshipway/mccy repository overview

⁠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/"

Tag summary

Content type

Image

Digest

Size

280.2 MB

Last updated

over 10 years ago

docker pull sshipway/mccy