contributte / contributte/webapp-skeleton
Docker compose not starting
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 95
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
docker-compose up
WARN[0000] /home/daniel/PhpstormProjects/SERP-downloader/webapp-skeleton/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
Attaching to adminer-1, database-1, nginx-1, php-1
database-1 |
database-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
database-1 |
database-1 | 2026-03-19 12:33:04.594 CET [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
database-1 | 2026-03-19 12:33:04.594 CET [1] LOG: listening on IPv6 address "::", port 5432
database-1 | 2026-03-19 12:33:04.602 CET [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
adminer-1 | [9] [Thu Mar 19 11:33:04 2026] PHP 8.3.15 Development Server (http://0.0.0.0:80) started
adminer-1 | [8] [Thu Mar 19 11:33:04 2026] PHP 8.3.15 Development Server (http://0.0.0.0:80) started
adminer-1 | [10] [Thu Mar 19 11:33:04 2026] PHP 8.3.15 Development Server (http://0.0.0.0:80) started
adminer-1 | [7] [Thu Mar 19 11:33:04 2026] PHP 8.3.15 Development Server (http://0.0.0.0:80) started
adminer-1 | [11] [Thu Mar 19 11:33:04 2026] PHP 8.3.15 Development Server (http://0.0.0.0:80) started
database-1 | 2026-03-19 12:33:04.629 CET [27] LOG: database system was interrupted; last known up at 2026-03-19 12:32:28 CET
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint webapp-skeleton-nginx-1 (8593fd07c2b269968a3547d276611063a227abce0699b6fe24c489acc66304a9): Bind for 0.0.0.0:8080 failed: port is already allocated
My sugestinon is to change docker-compose.yml to
adminer:
image: dockette/adminer:dg
ports:
- 8081:80
Contributor guide
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 docker-compose.yml and reproduce the issue using docker-compose up. Inspect the published ports for the nginx and adminer services, especially the mapping involving host port 8080. Done means the compose stack starts without a port-allocation error and the affected service remains reachable on its configured host port.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, nginx, php, postgresql
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100