I have added a few variables in a .env file.
e.g.
POSTGRES_USER=user
POSTGRES_PASSWORD=pass
Postgres does not create a user with those credentials.
I can not see them when I run docker exec -it $(docker ps | ack postgre | cut -f1 -d\ ) env either.
Why isn't the environnment variables I set in .env honored when I start docker-compose?
docker-compose config. Do you see your variables?