mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
bumped openjdk:8 <-> openjdk:16, added much easier setup instructions
This commit is contained in:
parent
e76c822442
commit
6484879aed
4 changed files with 17 additions and 12 deletions
2
docker/Dockerfile → Dockerfile
Normal file → Executable file
2
docker/Dockerfile → Dockerfile
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
FROM openjdk:8-jre-slim
|
FROM openjdk:16-alpine
|
||||||
RUN mkdir /gsc
|
RUN mkdir /gsc
|
||||||
WORKDIR /gsc
|
WORKDIR /gsc
|
||||||
EXPOSE 19132/udp
|
EXPOSE 19132/udp
|
12
README.md
12
README.md
|
@ -15,5 +15,15 @@ GeyserConnect is a server that Minecraft: Bedrock Edition clients can connect to
|
||||||
**Please note, this project is still a work in progress and should not be used on production. Expect bugs!**
|
**Please note, this project is still a work in progress and should not be used on production. Expect bugs!**
|
||||||
|
|
||||||
If you wish to run this in docker and/or use DNS redirection please see the appropriate folders in this repo.
|
If you wish to run this in docker and/or use DNS redirection please see the appropriate folders in this repo.
|
||||||
#### Docker: [here](docker)
|
|
||||||
|
## GeyserConnect using Docker
|
||||||
|
This contains the docker image and a basic way of running GeyserConnect
|
||||||
|
|
||||||
|
### Setup
|
||||||
|
1. Download and build the docker file using `./build-image.sh <imagename>`
|
||||||
|
2. Start geyser using this:
|
||||||
|
```
|
||||||
|
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -v $(pwd)/data:/gsc <imagename>
|
||||||
|
```
|
||||||
|
|
||||||
#### DNS: [here](bind9)
|
#### DNS: [here](bind9)
|
||||||
|
|
5
build-image.sh
Executable file
5
build-image.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
wget -O ./data/GeyserConnect.jar https://ci.opencollab.dev//job/GeyserMC/job/GeyserConnect/job/master/lastSuccessfulBuild/artifact/target/GeyserConnect.jar --no-check-certificate
|
||||||
|
|
||||||
|
docker build -t $1 .
|
|
@ -1,10 +0,0 @@
|
||||||
# GeyserConnect using Docker
|
|
||||||
This contains the docker image and a basic way of running GeyserConnect
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
1. Download GeyserConnect to a subfolder called `data`
|
|
||||||
2. Build the docker file using `docker build -t geyser-connect .`
|
|
||||||
3. Start geyser using this:
|
|
||||||
```
|
|
||||||
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -v $(pwd)/data:/gsc geyser-connect
|
|
||||||
```
|
|
Loading…
Add table
Reference in a new issue