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.
In the example
.envfile, there's a section that says:ghost-docker/.env.example
Lines 49 to 52 in 1fb6d85
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
exposeattribute as explained in #54In fact, the only way the port can be changed is by setting the env variable
server__port=xxxxand exposing that same port in the compose file.