Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] How to wait-for-DB in comanage-registry-docker ?

Subject: COmanage Developers List

List archive

[comanage-dev] How to wait-for-DB in comanage-registry-docker ?


Chronological Thread 
  • From: Tom Zeller <>
  • To:
  • Subject: [comanage-dev] How to wait-for-DB in comanage-registry-docker ?
  • Date: Thu, 13 Jul 2017 19:39:41 -0500
  • Ironport-phdr: 9a23:Q5Qa9hJdMv3qJBwDitmcpTZWNBhigK39O0sv0rFitYgXLf7xwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kG1uDUVHxz5PAV4Y+j4BKbTidi6zea/58eVbglV1xSnZrYnEBKz5Tfcss0bm8M2NrQ8zh/EuFNTY+Rb32JjLFaYmAnz/MCt5Nho9CEG6KFpzNJJTaivJ/dwdrdfFjlza20=

Hi,

Just tried using docker-compose as documented[1], and it looks like
the database (mariadb) is not available before comanage-registry
starts up.

I believe this is so because when running 'docker-compose up' I see :

comanage-registry_1 | Database is unavailable - sleeping

before

comanage-registry-database_1 | 170714 0:31:33 [Note] mysqld: ready
for connections.

Any suggestions besides those on the Docker docs[2] to wait-for ?

Thx,
Tom

[1] https://github.com/Internet2/comanage-registry-docker
[2] https://docs.docker.com/compose/startup-order/



Archive powered by MHonArc 2.6.19.

Top of Page