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

Firebase functions not loading .env file

According to the Firebase documentation, Loaded environment variables from .env. should be printed to the console when deploying functions. My functions are exported inside src/functions/functions.ts. This is specified in my package.json file: main: lib/src/functions/functions.js (since I am using TypeScript, I…

VIEW QUESTION
Back To Top
Search