2020-06-15 21:47:24 -04:00
2020-06-15 21:47:24 -04:00
2020-05-16 12:38:09 -04:00
2019-12-31 22:54:23 -05:00
2020-05-16 18:19:40 -04:00
2020-01-07 08:39:18 -05:00
2020-05-10 12:43:13 -04:00
2020-05-10 12:43:13 -04:00
2020-05-10 12:43:13 -04:00

Pubcraft

Getting server.jar

Click Installations Select the Options Menu Click Edit Click Download Server

Running Locally

docker-compose build minecraft
docker-compose up minecraft

Uploading to Docker Hub

In docker-compose.yaml, update the image tag to:

...
services:
  minecraft:
    build: .
    image: <your_username>/minecraft:<version>-1
    ports:
...

then run

docker-compose push

Running in kubernetes

In k8s/deploy.yaml, edit the deploy

...
    spec:
      containers:
      - name: minecraft
        image: <your image from above>
        ports:
...

Then run the following

kubectl apply -f k8s/pvc
kubectl apply -f k8s

Your minecraft server will be available on port 25565

Create a Backup

kubectl cp <pod_name>:/mc_data <backup>

Restore from Backup

kubectl cp <backup> <pod_name>:/mc_data

Cool seeds

with an amplified world, -8018833100564192815

Description
Public minecraft server
Readme 53 MiB
Languages
Dockerfile 89.2%
Shell 10.8%