I have just taken the latest cut of master and I am noticing in the logs for docker-compose up that the web is having trouble connecting to the database:
{"timestamp":"2020-06-01T15:37:52.206102235Z","level":"error","source":"atc","message":"atc.db.failed-to-open-db-retrying","data":{"error":"dial tcp 172.23.0.2:5432: connect: no route to host","session":"3"}}
I am using docker community edition on fedora 22 with the following details:
$ docker -v
Docker version 19.03.10, build 9424aeaee9
$ docker-compose -v
docker-compose version 1.25.4, build unknown
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f139c503fb4b concourse/concourse "dumb-init /usr/loca…" 10 minutes ago Up 7 minutes concourse-docker_worker_1
c1892dcd79da concourse/concourse "dumb-init /usr/loca…" 10 minutes ago Up 7 minutes 0.0.0.0:8080->8080/tcp concourse-docker_web_1
c17ec6e66ba3 postgres "docker-entrypoint.s…" 10 minutes ago Up 7 minutes 5432/tcp concourse-docker_db_1
I also tried a few network mode configurations (bridge & host) without any luck. Is there anything else you could recommend that I could try?
Hi
I have just taken the latest cut of master and I am noticing in the logs for
docker-compose up
that the web is having trouble connecting to the database:I am using docker community edition on fedora 22 with the following details:
I also tried a few network mode configurations (bridge & host) without any luck. Is there anything else you could recommend that I could try?
Thanks