KagurazakaNyaa / palworld-docker

Palworld dedicated server with docker
https://hub.docker.com/r/kagurazakanyaa/palworld
GNU Affero General Public License v3.0
91 stars 16 forks source link

Expose RCON port #7

Closed mmonkey closed 6 months ago

mmonkey commented 6 months ago

Dockerfile isn't exposing the RCON port.

Could do something like:

EXPOSE ${GAME_PORT} ${RCON_PORT}
KagurazakaNyaa commented 6 months ago

EXPOSE in Dockerfile actually only has a prompting effect. The effective parameters are the parameters in docker run and the configuration in docker-compose.yml. https://docs.docker.com/engine/reference/builder/#expose

I will modify the Dockerfile and sample docker-compose.yml for reference.