diff --git a/minecraft-server/README.md b/minecraft-server/README.md index 12536ee1..05a61ed5 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -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. diff --git a/minecraft-server/examples/docker-compose-paper.yml b/minecraft-server/examples/docker-compose-paper.yml new file mode 100644 index 00000000..befdcad9 --- /dev/null +++ b/minecraft-server/examples/docker-compose-paper.yml @@ -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: \ No newline at end of file