In the example .env file, there's a section that says:
|
# Port Ghost should listen on |
|
# You should only need to edit this if you want to host |
|
# multiple sites on the same server |
|
# GHOST_PORT=2368 |
However the only place this variable is used in the entire TryGhost org is in the compose file, which uses a wrong syntax for the expose attribute as explained in #54
In fact, the only way the port can be changed is by setting the env variable server__port=xxxx and exposing that same port in the compose file.