Added an example compose file for PaperSpigot

For #313
This commit is contained in:
Geoff Bourne 2019-05-03 17:20:34 -05:00
parent 5a8f2a7395
commit b48a13ed1d
2 changed files with 20 additions and 0 deletions

View file

@ -372,6 +372,9 @@ If you are hosting your own copy of PaperSpigot you can override the download UR
You can install Bukkit plugins in two ways...
An example compose file is provided at
[examples/docker-compose-paper.yml](examples/docker-compose-paper.yml).
### Using the /data volume
This is the easiest way if you are using a persistent `/data` mount.

View file

@ -0,0 +1,17 @@
version: '3.7'
services:
mc:
image: itzg/minecraft-server
environment:
EULA: "true"
TYPE: PAPER
VERSION: 1.9.4
command: --noconsole
ports:
- 25565:25565
volumes:
- mc-paper:/data
volumes:
mc-paper: