From 63d3257a3cad2e120fcea7e2a3ee941e657c5a6f Mon Sep 17 00:00:00 2001 From: Andreas Maerten <24669514+Yimura@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:08:58 +0100 Subject: [PATCH] Update docker quick start steps (#309) --- docs/about/quick-start.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/about/quick-start.md b/docs/about/quick-start.md index 74ceff6cb..f65088293 100644 --- a/docs/about/quick-start.md +++ b/docs/about/quick-start.md @@ -31,17 +31,15 @@ cargo run --release ## Docker Experimental Docker support is available. -The image is currently not published anywhere, but you can use the following command to build it: +The image is currently not published anywhere, but you can use the following command to build and deploy it: ```shell -docker build . -t pumpkin +docker compose up --build ``` -To run it, use the following command: +After running this command a `data/` folder should appear in which you'll be able to find all the server files. +Within this `data/` folder you can put your `world/` folder (make sure you restart the server) -```shell -docker run --rm -p 25565:25565 -v "./world:/pumpkin/world" pumpkin -``` ## Test Server Pumpkin has a Test server maintained by @kralverde. Its runs on the latest commit of Pumpkin @@ -52,4 +50,4 @@ Pumpkin has a Test server maintained by @kralverde. Its runs on the latest commi - OS: Debian GNU/Linux bookworm 12.7 x86_64 - Kernel: Linux 6.1.0-21-cloud-amd64 - CPU: Intel Core (Haswell, no TSX) (2) @ 2.40 GHz -- RAM: 4GB DIMM \ No newline at end of file +- RAM: 4GB DIMM