From 260cc7d1802d23c6dac710f35e03243d4d1c63b8 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Tue, 30 Jun 2020 08:40:33 -0500 Subject: [PATCH] docs: added recommendation against using SERVER_PORT --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15c9c1e8..59609609 100644 --- a/README.md +++ b/README.md @@ -747,9 +747,13 @@ The server name (e.g. for bungeecord) can be set like: ### Server port -The server port can be set like: +> **WARNING:** only change this value if you know what you're doing. It is only needed when using host networking and it is rare that host networking should be used. Use `-p` port mappings instead. - docker run -d -e SERVER_PORT=25565 ... +If you must, the server port can be set like: + + docker run -d -e SERVER_PORT=25566 ... + +**however**, be sure to change your port mapping accordingly and be prepared for some features to break. ### Difficulty