docs: added recommendation against using SERVER_PORT

This commit is contained in:
Geoff Bourne 2020-06-30 08:40:33 -05:00
parent bbe930e552
commit 260cc7d180

View file

@ -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