skip to Main Content

Fail to interpolate the environment variable to ports declaration in "docker-compose.yaml"

docker-compose.yaml version: "3" services: Database: image: postgres container_name: Database restart: always ports: - "${DATA_BASE_PORT}:${DATA_BASE_PORT}" env_file: - 01-Source/Infrastructure/Interactions/ClientAndFrontServer/.env.dataBase.local.public - 01-Source/Infrastructure/Interactions/ClientAndFrontServer/.env.dataBase.local.private // ... I made sure that paths to files are correct. If to make mistake in these path, the error like…

VIEW QUESTION
Back To Top
Search