Skip to content

Docker compose not starting #545

Closed

Description

@Leinad90
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions