From b48a13ed1dcc3377d4af54af2ab01ca1bee9988a Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 3 May 2019 17:20:34 -0500 Subject: [PATCH] Added an example compose file for PaperSpigot For #313 --- minecraft-server/README.md | 3 +++ .../examples/docker-compose-paper.yml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 minecraft-server/examples/docker-compose-paper.yml 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