upgrade to 1.4.0
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitlab-ci.yml
Normal file → Executable file
0
.gitlab-ci.yml
Normal file → Executable file
0
.gitlab/.gitignore
vendored
Normal file → Executable file
0
.gitlab/.gitignore
vendored
Normal file → Executable file
0
.gitlab/Makefile
Normal file → Executable file
0
.gitlab/Makefile
Normal file → Executable file
0
.gitlab/README.md
Normal file → Executable file
0
.gitlab/README.md
Normal file → Executable file
0
.gitlab/make/docker.makefile
Normal file → Executable file
0
.gitlab/make/docker.makefile
Normal file → Executable file
0
.gitlab/make/git.makefile
Normal file → Executable file
0
.gitlab/make/git.makefile
Normal file → Executable file
0
.gitlab/make/helm.makefile
Normal file → Executable file
0
.gitlab/make/helm.makefile
Normal file → Executable file
0
.gitlab/make/kaniko.makefile
Normal file → Executable file
0
.gitlab/make/kaniko.makefile
Normal file → Executable file
0
.gitlab/make/kubectl.makefile
Normal file → Executable file
0
.gitlab/make/kubectl.makefile
Normal file → Executable file
0
.gitlab/make/truenas.makefile
Normal file → Executable file
0
.gitlab/make/truenas.makefile
Normal file → Executable file
2
Dockerfile
Normal file → Executable file
2
Dockerfile
Normal file → Executable file
@@ -8,7 +8,7 @@ WORKDIR /mc_data
|
|||||||
RUN chown -R minecraft:minecraft .
|
RUN chown -R minecraft:minecraft .
|
||||||
|
|
||||||
# Copy the modpack
|
# Copy the modpack
|
||||||
COPY versions/the-1122-pack_1.3.7.1.zip /the-1122-pack/the-1122-pack.zip
|
COPY versions/the-1122-pack_1.4.0.zip /the-1122-pack/the-1122-pack.zip
|
||||||
RUN chown -R minecraft:minecraft /the-1122-pack
|
RUN chown -R minecraft:minecraft /the-1122-pack
|
||||||
|
|
||||||
USER minecraft
|
USER minecraft
|
||||||
|
|||||||
56
README.md
Normal file → Executable file
56
README.md
Normal file → Executable file
@@ -1,53 +1,7 @@
|
|||||||
# Minecraft
|
# The 1122 Pack
|
||||||
|
|
||||||
## Running Locally
|
## Building
|
||||||
|
|
||||||
```bash
|
1. Run `make update-version VERSION=<version>`
|
||||||
# download the most recent version of minecraft
|
2. Run `make docker-push`
|
||||||
make get-server
|
3. Run `helm upgrade --install the-1122-pack ./helm`
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|||||||
2
docker-compose.yaml
Normal file → Executable file
2
docker-compose.yaml
Normal file → Executable file
@@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
minecraft:
|
minecraft:
|
||||||
image: ducoterra/the-1122-pack:1.0.1
|
image: ducoterra/the-1122-pack:1.4.0
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
0
helm/.helmignore
Normal file → Executable file
0
helm/.helmignore
Normal file → Executable file
4
helm/Chart.yaml
Normal file → Executable file
4
helm/Chart.yaml
Normal file → Executable file
@@ -13,8 +13,8 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 1.0.1
|
version: 1.4.0
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
appVersion: 1.0.1
|
appVersion: 1.4.0
|
||||||
|
|||||||
0
helm/templates/configmap.yaml
Normal file → Executable file
0
helm/templates/configmap.yaml
Normal file → Executable file
8
helm/templates/deploy.yaml
Normal file → Executable file
8
helm/templates/deploy.yaml
Normal file → Executable file
@@ -14,6 +14,14 @@ spec:
|
|||||||
app: {{ .Release.Name }}
|
app: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
|
- name: remove-mods
|
||||||
|
image: {{ .Values.image }}
|
||||||
|
imagePullPolicy: Always
|
||||||
|
command: ["/bin/bash"]
|
||||||
|
args: ["-c", "rm -r /mc_data/mods"]
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /mc_data
|
||||||
|
name: data
|
||||||
- name: unzip
|
- name: unzip
|
||||||
image: {{ .Values.image }}
|
image: {{ .Values.image }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|||||||
0
helm/templates/pvc.yaml
Normal file → Executable file
0
helm/templates/pvc.yaml
Normal file → Executable file
0
helm/templates/service.yaml
Normal file → Executable file
0
helm/templates/service.yaml
Normal file → Executable file
4
helm/values.yaml
Normal file → Executable file
4
helm/values.yaml
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
image: ducoterra/the-1122-pack:1.0.1
|
image: ducoterra/the-1122-pack:1.4.0
|
||||||
port: 20102
|
port: 20102
|
||||||
max_cpu: 4
|
max_cpu: 4
|
||||||
max_ram: 6
|
max_ram: 6
|
||||||
@@ -28,7 +28,7 @@ server_props: |
|
|||||||
spawn-npcs=true
|
spawn-npcs=true
|
||||||
allow-flight=true
|
allow-flight=true
|
||||||
level-name=world
|
level-name=world
|
||||||
view-distance=24
|
view-distance=10
|
||||||
resource-pack=
|
resource-pack=
|
||||||
spawn-animals=true
|
spawn-animals=true
|
||||||
white-list=true
|
white-list=true
|
||||||
|
|||||||
19
servers.md
19
servers.md
@@ -1,19 +0,0 @@
|
|||||||
# Servers
|
|
||||||
|
|
||||||
## Minecraft
|
|
||||||
|
|
||||||
```bash
|
|
||||||
helm upgrade --install minecraft ./helm --set tag=1.15.2_7 --set port=25565
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pubcraft
|
|
||||||
|
|
||||||
```bash
|
|
||||||
helm upgrade --install pubcraft ./helm --set tag=1.15.2_7 --set port=20100
|
|
||||||
```
|
|
||||||
|
|
||||||
## TestCraft
|
|
||||||
|
|
||||||
```bash
|
|
||||||
helm upgrade --install testcraft ./helm --set tag=1.16.1_2 --set port=25566
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user