Add bind9 and Docker files

This commit is contained in:
rtm516 2020-06-27 23:05:38 +01:00
commit 96e7049dc6
10 changed files with 121 additions and 0 deletions

6
docker/Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM openjdk:8-jre-slim
RUN mkdir /gsc
WORKDIR /gsc
EXPOSE 19132/udp
EXPOSE 19133/udp
CMD ["java", "-Xms1G", "-jar", "GeyserConnect.jar"]

10
docker/README.md Normal file
View file

@ -0,0 +1,10 @@
# 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 -p 19133:19133/udp -v $(pwd)/data:/gsc geyser-connect
```