In this case, I am not setting a postgres host in my .env, and I am sure password and username are corrects.
Does anyone have an idea what I am doing wrong?
Thank you!
Hi @vsantos93
If Metabase is running in Docker, and Postgres is running in Docker, then you should point to the Postgres container. You are pointing to the Docker host. docker inspect db (looks like it calls the Postgres "db").
Otherwise try another guide, example: Docker-compose with persistent configuration settings
And it worked even I don't know if this is the best way to do this.
But after I built the database, I needed to input my database credentials. Is there a way to avoid this and make the metabase up with the inserted in docker-compose credentials?
Thank you!
Thanks @flamber, I was able to remove this env variable.
The database I set in env file is used to store metabase records, is it?
I've been reading about the documentation which @Luiggi post above, but it not be clear to me. I am trying to make metabase record in the same database where I have my data to analyse, and I would like to avoid the initial database setup because it has the same credencials as the database I am using in docker-compose.yml. Can I do this?