no need to recreate bootstrap_ui container
diff --git a/xos/synchronizers/onboarding/xosbuilder.py b/xos/synchronizers/onboarding/xosbuilder.py
index 1570a09..ffb66ee 100644
--- a/xos/synchronizers/onboarding/xosbuilder.py
+++ b/xos/synchronizers/onboarding/xosbuilder.py
@@ -201,18 +201,22 @@
{"image": "xosproject/xos-postgres",
"expose": [5432]}
+ db_container_name = xos.docker_project_name + "_xos_db_1"
+
containers["xos_ui"] = \
{"image": "xosproject/xos-ui",
"command": "python /opt/xos/manage.py runserver 0.0.0.0:%d --insecure --makemigrations" % xos.ui_port,
"ports": {"%d"%xos.ui_port : "%d"%xos.ui_port},
"links": ["xos_db"],
+ #"external_links": [db_container_name],
"volumes": volume_list}
- containers["xos_bootstrap_ui"] = {"image": "xosproject/xos-ui",
- "command": "python /opt/xos/manage.py runserver 0.0.0.0:%d --insecure --makemigrations" % xos.bootstrap_ui_port,
- "ports": {"%d"%xos.bootstrap_ui_port : "%d"%xos.bootstrap_ui_port},
- "links": ["xos_db"],
- "volumes": volume_list}
+# containers["xos_bootstrap_ui"] = {"image": "xosproject/xos",
+# "command": "python /opt/xos/manage.py runserver 0.0.0.0:%d --insecure --makemigrations" % xos.bootstrap_ui_port,
+# "ports": {"%d"%xos.bootstrap_ui_port : "%d"%xos.bootstrap_ui_port},
+# #"external_links": [db_container_name],
+# "links": ["xos_db"],
+# "volumes": volume_list}
for c in ServiceController.objects.all():
if self.check_controller_unready(c):
@@ -222,6 +226,7 @@
containers["xos_synchronizer_%s" % c.name] = \
{"image": "xosproject/xos-synchronizer-%s" % c.name,
"command": 'bash -c "sleep 120; cd /opt/xos/synchronizers/%s; bash ./run.sh"' % c.name,
+ #"external_links": [db_container_name],
"links": ["xos_db"],
"volumes": volume_list}