getredash / redash

Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
http://redash.io/
BSD 2-Clause "Simplified" License
26.2k stars 4.36k forks source link

"mac docker install redash" sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postres" to address: Name or service not known #3030

Closed lauid closed 5 years ago

lauid commented 5 years ago

Issue Summary

mac Mojave 10.14 (18A391)

Steps to Reproduce

  1. git clone https://github.com/getredash/redash.git
  2. (env2.7.1) ➜ redash git:(master) ✗ docker-compose -f docker-compose.production.yml run --rm server create_db

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postres" to address: Name or service not known (Background on this error at: http://sqlalche.me/e/e3q8)

kyoshidajp commented 5 years ago

Please check the error message again. Probably "postres" is typo.

Otherwise, how about running docker ps -a | grep postgres to check postgres container status?

arikfr commented 5 years ago

Closing. You're welcome to reopen with additional details.