3 Commits

Author SHA1 Message Date
ducoterra
072bee6e27 update to 1.16.1 2020-06-26 23:36:39 -04:00
ducoterra
e6a042948b fix port issue 2020-06-15 21:43:34 -04:00
ducoterra
7df518d7db set image 2020-05-16 17:40:04 -04:00
6 changed files with 5 additions and 6 deletions

View File

@@ -35,4 +35,4 @@ deploy_to_prod:
- curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
- chmod +x /usr/local/bin/kubectl
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- helm template $CI_PROJECT_NAME --set tag=$CI_COMMIT_TAG ./helm | kubectl apply -f -
- helm template $CI_PROJECT_NAME --set tag=$CI_COMMIT_TAG --set image=$CI_REGISTRY_IMAGE ./helm | kubectl apply -f -

View File

@@ -1,7 +1,5 @@
FROM openjdk:8-slim
RUN apt update && apt install -y rsync
WORKDIR /mc_server
COPY ./server .

View File

@@ -6,7 +6,7 @@ spec:
selector:
app: {{ .Release.Name }}
ports:
- port: 25565
- port: {{ .Values.port }}
targetPort: 25565
name: {{ .Release.Name }}
type: LoadBalancer

View File

@@ -1 +1,2 @@
image: hub.ducoterra.net/ducoterra/minecraft
image: hub.ducoterra.net/ducoterra/minecraft
port: 25565

Binary file not shown.

View File

@@ -25,7 +25,7 @@ server-ip=
spawn-npcs=true
allow-flight=true
level-name=world
view-distance=20
view-distance=32
resource-pack=
spawn-animals=true
white-list=true