Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josxha/minecraft-paper-docker
Automatic Docker builds for Minecraft Paper server
https://github.com/josxha/minecraft-paper-docker
docker minecraft paper papermc server
Last synced: about 4 hours ago
JSON representation
Automatic Docker builds for Minecraft Paper server
- Host: GitHub
- URL: https://github.com/josxha/minecraft-paper-docker
- Owner: josxha
- Created: 2021-12-10T04:11:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T08:30:16.000Z (6 months ago)
- Last Synced: 2024-05-01T12:07:41.760Z (6 months ago)
- Topics: docker, minecraft, paper, papermc, server
- Language: Dart
- Homepage: https://hub.docker.com/r/josxha/minecraft-paper
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automatic Docker builds for Paper Minecraft
This repository checks automatically every hour for new paper server builds, builds new images with them and uploads them to the docker registry.
## Links
- Images: [hub.docker.com/r/josxha/minecraft-paper](https://hub.docker.com/r/josxha/minecraft-paper)
- Repository: [github.com/josxha/minecraft-paper-docker](https://github.com/josxha/minecraft-paper-docker)
- Papermc: [papermc.io/downloads](https://papermc.io/downloads)## Why to use this image
- [x] Easy to use and configure
- [x] Up to date with the latest paper builds
- [x] Much smaller image size compared to other paper images
- [x] Open source repository## Get Started
1. Install docker ([docker docs](https://docs.docker.com/get-docker/))
2. Install docker-compose ([docker docs](https://docs.docker.com/compose/install/))
3. Example content of your `docker-compose.yml` file:
```yaml
version: '3'
services:
minecraft:
image: josxha/minecraft-paper:latest # or e.g. 1.18.2
container_name: minecraft
restart: unless-stopped
ports:
- 0.0.0.0:25565:25565
volumes:
- ./data:/data:rw
# user: 25565:25565
environment:
- TZ=Europe/London
- RAM=4G
```
4. (optional) If you want to run the container not as root
1. uncomment the line `user: 25565:25565`
2. create the data directory with `mkdir ./data`
3. change the directory permissions with `sudo chown 25565:25565 ./data`
5. Run `docker-compose up -d` in the directory of your `docker-compose.yml` file.
6. (optional) Use [watchtower](https://hub.docker.com/r/containrrr/watchtower) to keep your container up to date with the latest image build automatically.## Image Tags
- **latest**: Newest minecraft version with the latest paper build
- **1.18-latest**, **1.17-latest**, **etc.** for the latest paper build of this major minecraft version
- **1.18.2**, **1.18**, **1.17.1**, **etc.** for the latest paper build of this minecraft version
- **-** to use specific paper buildSee all the available tag [here](https://hub.docker.com/r/josxha/minecraft-paper/tags).