I’m trying to configure metabase to analyze data I have in a postgresql on a CentOS 7 VM.
I tried:
1 - docker run -d -p 3000:3000 --add-host=database:vm-ip --name metabase metabase/metabase
2 - docker run -d -p 3000:3000 --net=host --name metabase metabase/metabase
3 - docker run -d -p 3000:3000 --network=“host” --name metabase metabase/metabase
in order to try to point metabase to localhost from my host instead of the container’s.
but I get trouble:
- in 1) The connection attempt failed
- in 2) and 3): container fails to start
Can anyone help in properly setting this up?
Thank you!