mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 22:16:37 +02:00
- add build stage from #1, and extend - optionally build from source. COMPILE=true - automate copying build artifact from ci.opencollab.dev. COMPILE=false - update baseimages to use eclipse-temurin as openjdk image is deprecated - run as nobody, not root (security) - add docker-compose.yml - update docker/README.md
741 B
741 B
GeyserConnect using Docker
This contains the Docker image and a basic way of running GeyserConnect
Setup
- Make a directory for data:
mkdir -m 1777 data
- Set the owner:
chown nobody data
This matches the user that geyser-connect runs as inside the Docker container. - Then use either
docker-compose
ordocker
below
Docker Compose
- Build with
docker-compose build
- Start Geyser
docker-compose up -d
- To check logs
docker-compose logs
- To stop
docker-compose down
Docker
- Build the Dockerfile using
docker build -t geyser-connect -f docker/Dockerfile .
- Start geyser using this:
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -v $(pwd)/data:/gsc geyser-connect