htdvisser / taiga-docker

[NOT MAINTAINED] Taiga project management platform for Docker
MIT License
83 stars 67 forks source link

docker-compose up failed #29

Closed jedi-jiang closed 7 years ago

jedi-jiang commented 7 years ago

Running docker-compose up results in this error:

taigaback_1 | tcp://172.17.0.3:5432: forward host lookup failed: Unknown host

I believe I followed all the instructions.

I could connect to the postgresql db in cntainer taigaback_1 through the psql.

chinaares commented 7 years ago

I had met this error too,any one give some help?

filhocf commented 7 years ago

You need to set two variables: POSTGRES_HOST and POSTGRES_PORT

Can be in the docker-compose.yml or with option -e.

beevelop commented 7 years ago

Have a look at #28 (merged just now) and the new taiga.yml file. You might need to set the environment variables explicitly for taigaback to circumvent naming conflicts (ENV <> container name):

environment:
  [...]
  POSTGRES_HOST: postgres
  POSTGRES_PORT: 5432