opf / opf/openproject-docker-compose
Problem with postgres docker image version
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 342
- Forks
- 315
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I had following error when running open project with docker-compose:
initdb: error: The program "postgres" is needed by initdb but was not found in the
To fix that I had to change:
services:
db:
image: postgres:13
to:
services:
db:
image: postgres:13-bullseye
Please take a look into that issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Docker Compose configuration for the db service and reproduce the reported initdb error using postgres:13. Compare that behavior with postgres:13-bullseye and verify the chosen image allows the project to start successfully; the issue is done when the documented Compose setup initializes without the missing postgres error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, postgres
- Domain
- database, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100