T
T
TeslaFeo2019-12-13 15:56:40
Docker
TeslaFeo, 2019-12-13 15:56:40

What could be the reason and how to fix it?

docker-compose up -d
WARNING: The port_service_nginx variable is not set. defaulting to a blank string.
WARNING: The port_service_db variable is not set. defaulting to a blank string.
WARNING: The pg_db_password variable is not set. defaulting to a blank string.
WARNING: The pg_db_user variable is not set. defaulting to a blank string.
WARNING: The pg_db_name variable is not set. defaulting to a blank string.
ERROR: The Compose file './docker-compose.yaml' is invalid because:
services.postgres.ports is invalid: Port ranges don't match in length
services.nginx.ports is invalid: Port ranges don't match in length

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2019-12-13
@sergiks

There is no .env file with the definition of the mentioned variables

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question