Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmh-only/papermc-image
:package: Automatically build container images for Minecraft PaperMC softwares
https://github.com/pmh-only/papermc-image
actions container papermc
Last synced: about 1 month ago
JSON representation
:package: Automatically build container images for Minecraft PaperMC softwares
- Host: GitHub
- URL: https://github.com/pmh-only/papermc-image
- Owner: pmh-only
- License: mit
- Created: 2023-12-09T10:21:28.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T19:10:06.000Z (about 2 months ago)
- Last Synced: 2024-09-28T12:03:20.728Z (about 2 months ago)
- Topics: actions, container, papermc
- Language: Go
- Homepage: https://papermc.io/
- Size: 155 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :package: `papermc-image`
Automatically build container images for minecraft PaperMC softwares.*powered by Github Actions.
## Quick preview
Simply,
```sh
docker run -itp 25565:25565 -v .:/app ghcr.io/pmh-only/paper
```or.. velocity proxy
```sh
docker run -itp 25565:25565 -v .:/app ghcr.io/pmh-only/velocity
```jvm memory limit:
```sh
docker run -itp 25565:25565 -v .:/app ghcr.io/pmh-only/paper -Xms1G -Xmx1G
```[Aikar's gc flag tuning](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/) is enabled by default. You can disable this feature with `DISABLE_TUNING` environment variable.
```sh
docker run -itp 25565:25565 -e DISABLE_TUNING=true -v .:/app ghcr.io/pmh-only/paper -Xms1G -Xmx1G
```## docker-compose
```yml
version: '3'services:
minecraft:
image: ghcr.io/pmh-only/paper
command: -Xms1G -Xmx1G
restart: always
user: 1000:1000
tty: true
stdin_open: true
volumes:
- .:/app:rw
ports:
- '25565:25565'
```wanna update your paper bukkits? just type:
```sh
docker compose pull
docker compose up -d
```