mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
|
||
---|---|---|
.. | ||
Dockerfile | ||
README.md |
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