Closed jareware closed 7 years ago
@jareware, I had the same problem as you. I suspect the nightscout
container is trying to connect to the database before this is ready to accept connections. These's a long thread on dependencies here: https://github.com/docker/compose/issues/374
I managed to workaround this issue by starting the database first:
docker-compose start database
sleep 5
docker-compose up nightscout
Let me know if this works for you. I'll investigate a better solution soon.
I actually figured the same, so I just did a docker-compose up -d database
first, waited a bit, and did the same for nightscout
. :) Sorry for not reporting back, I kinda forgot...
But yeah, a few delayed retries upon initial connect would be sweet.
There are merged PRs that fix this now. Please can we close this?
The startup works for me fine each time. I have the newest code. Suggest to close.
Has worked for me too!
I'm having trouble starting the containers reliably. About 4 out of 5 times I get this:
Then that 1 time out of 5, everything works as it should.
Ideas..?