upgrade to 1.4.0

This commit is contained in:
ducoterra
2022-02-04 21:25:39 -05:00
parent ab49c18f15
commit d83da677dd
25 changed files with 20 additions and 77 deletions

56
README.md Normal file → Executable file
View File

@@ -1,53 +1,7 @@
# Minecraft
# The 1122 Pack
## Running Locally
## Building
```bash
# download the most recent version of minecraft
make get-server
# Run the server
docker-compose up
```
## Uploading to Docker Hub
1. Update the version in the VERSION file.
2. Build and push the new version
```bash
make build
make push
```
## Running in kubernetes
Requires helm v3. Edit values.yaml and run the following:
```bash
helm upgrade --install minecraft
```
Your minecraft server will be available on port 25565 by default.
## Create a Backup
```bash
kubectl cp <pod_name>:/mc_data <backup>
```
## Restore from Backup
```bash
kubectl cp <backup> <pod_name>:/mc_data
```
## Cool seeds
### 7485786574821478084
Spawns you next to a nether portal with golden axe and pickaxe. River and Village close by.
### -8018833100564192815
Use with an amplified world, massive island
1. Run `make update-version VERSION=<version>`
2. Run `make docker-push`
3. Run `helm upgrade --install the-1122-pack ./helm`