commit | 432b80b4ba7a74986b158953b0062851b2808337 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Sun Mar 26 14:21:51 2017 -0400 |
committer | Andy Bavier <andy@onlab.us> | Sun Mar 26 14:21:51 2017 -0400 |
tree | a51dd1c79bb3c4ddb97d8f020722e2ac806d4c5f | |
parent | ba5549cd543f050b57c535b0f8c4507354b664e7 [diff] |
Start DB and Redis before other bootstrap containers Change-Id: Ie1eb69431bccc1874d01d44e95284771ee4208a5
diff --git a/roles/cord-profile/templates/xos-bootstrap-docker-compose.yaml.j2 b/roles/cord-profile/templates/xos-bootstrap-docker-compose.yaml.j2 index ed24bd5..06c20d2 100644 --- a/roles/cord-profile/templates/xos-bootstrap-docker-compose.yaml.j2 +++ b/roles/cord-profile/templates/xos-bootstrap-docker-compose.yaml.j2
@@ -67,6 +67,11 @@ options: max-size: "1000k" max-file: "5" + depends_on: + - xos_db +{% if use_redis %} + - xos_redis +{% endif %} xos_synchronizer_onboarding: image: {{ deploy_docker_registry }}xosproject/xos:{{ deploy_docker_tag }} @@ -95,3 +100,5 @@ options: max-size: "1000k" max-file: "5" + depends_on: + - xos_db