TryGhost / TryGhost/ghost-docker

`GHOST_PORT` is useless as the ghost docker image listens to hardcoded port 2368

Open
#80 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
95
Forks
96
Avg merge
1d 1h
Merged PRs (30d)
32

Description

In the example .env file, there's a section that says:

https://github.com/TryGhost/ghost-docker/blob/1fb6d85916fb233298c9243dd3882239bb341141/.env.example#L49-L52

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced .env.example lines 49-52 and the compose file where GHOST_PORT is used; review the expose syntax discussed in #54. Verify how server__port changes the Ghost listener, then make the environment variable and exposed port consistent and confirm the example no longer suggests an ineffective setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.