skip to Main Content

Docker Compose doesn't seem to read env variables

This is my docker-compose.yml version: "3" services: db: build: context: db volumes: - donazioni-vol:/var/lib/mysql env_file: - config.env generatore: build: context: generatore env_file: - config.env depends_on: - db volumes: donazioni-vol: This is my config.env file: MYSQL_USER=dockerdev MYSQL_PASSWORD=topolino MYSQL_ROOT_PASSWORD=topolino MYSQL_DATABASE=solidarieta This is…

VIEW QUESTION
Back To Top
Search