docker-spigot/README.md

23 lines
508 B
Markdown
Raw Permalink Normal View History

2016-04-17 10:06:16 -07:00
# docker-spigot
**A setup for spigot within docker.**
2022-06-25 16:41:11 -07:00
Currently minecraft 1.19.0.
2016-04-17 10:06:16 -07:00
## Quick start
2022-06-25 16:41:11 -07:00
* Clone: `git clone ssh://git@git.davepedu.com:223/dave/docker-spigot.git`
* Build: `cd docker-spigot ; docker build -t spigot .`
2016-04-17 10:06:16 -07:00
## 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.
2022-06-26 11:17:45 -07:00
* Send commands to the server console: `$ echo "kick xMopx" > /srv/spigot/stdin`