23 lines
508 B
Markdown
23 lines
508 B
Markdown
# docker-spigot
|
|
|
|
**A setup for spigot within docker.**
|
|
|
|
Currently minecraft 1.19.0.
|
|
|
|
## Quick start
|
|
|
|
* Clone: `git clone ssh://git@git.davepedu.com:223/dave/docker-spigot.git`
|
|
* Build: `cd docker-spigot ; docker build -t spigot .`
|
|
|
|
|
|
## Persistence
|
|
|
|
Mount `/srv/spigot/` to the host. This dir should be owned by UID 1000:
|
|
|
|
* `-v /host/path/data/:/srv/spigot/`
|
|
|
|
## Protips
|
|
|
|
* Memory limit: `-e MEMLIMIT=512m`. Defaults to 1024m.
|
|
* Send commands to the server console: `$ echo "kick xMopx" > /srv/spigot/stdin`
|