mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
parent
5a8f2a7395
commit
b48a13ed1d
@ -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...
|
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
|
### Using the /data volume
|
||||||
|
|
||||||
This is the easiest way if you are using a persistent `/data` mount.
|
This is the easiest way if you are using a persistent `/data` mount.
|
||||||
|
17
minecraft-server/examples/docker-compose-paper.yml
Normal file
17
minecraft-server/examples/docker-compose-paper.yml
Normal 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:
|
Loading…
Reference in New Issue
Block a user