Code4HR / okcandidate-v1

A platform for matching candidates with voters.
http://okcandidate.code4hr.org
MIT License
15 stars 8 forks source link

Connection failure using Docker compose #159

Open chrisruddick opened 8 years ago

chrisruddick commented 8 years ago

Followed the instructions to set up the Docker images with the docker compose file. Upon container startup, could not access the main page at http://localhost:8000 (page is blank).

Docker log is the following:

okc_1 | [BS] Proxying: http://localhost:8000 okc_1 | [BS] Access URLs: okc_1 | ----------------------------------- okc_1 | Local: http://localhost:3000 okc_1 | External: http://172.17.0.3:3000 okc_1 | ----------------------------------- okc_1 | UI: http://localhost:3001 okc_1 | UI External: http://172.17.0.3:3001 okc_1 | ----------------------------------- okc_1 | 06 Jul 22:58:57 - Server started at: http://0.0.0.0:8000 okc_1 | Knex:Error Pool2 - Error: connect ECONNREFUSED 172.17.0.2:5432 okc_1 | Knex:Error Pool2 - Error: connect ECONNREFUSED 172.17.0.2:5432 okc_1 | Debug: handler, error okc_1 | {"msec":3.6874250024557114,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found"},"headers":{}},"message":"Not Found"}} okc_1 | Debug: handler, error okc_1 | {"msec":0.6420240104198456,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found"},"headers":{}},"message":"Not Found"}} okc_1 | Debug: handler, error okc_1 | {"msec":0.7824029922485352,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found"},"headers":{}},"message":"Not Found"}} okc_1 | Debug: handler, error okc_1 | {"msec":0.41337399184703827,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found"},"headers":{}},"message":"Not Found"}} okc_1 | Debug: handler, error okc_1 | {"msec":1.2020830065011978,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found"},"headers":{}},"message":"Not Found"}}