From 0071b8483ce878313e711ff039a067c0ca645bd4 Mon Sep 17 00:00:00 2001
From: Stefano Alberto Russo <stefano.russo@gmail.com>
Date: Sun, 21 Feb 2021 00:02:38 +0100
Subject: [PATCH] Updated populate script to enable https for new Meta Desktop
 containers.

---
 .../core_app/management/commands/core_app_populate.py       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py b/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
index 4113ce9..e3ba274 100644
--- a/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+++ b/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
@@ -54,6 +54,7 @@ class Command(BaseCommand):
                                      type     = 'docker',
                                      registry = 'docker_hub',
                                      ports    = '8590',
+                                     protocol = 'https',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
                                      supports_pass_auth     = True)
@@ -64,6 +65,7 @@ class Command(BaseCommand):
                                      image    = 'sarusso/basicmetadesktop',
                                      type     = 'docker',
                                      registry = 'docker_hub',
+                                     protocol = 'https',
                                      ports    = '8590',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
@@ -76,6 +78,7 @@ class Command(BaseCommand):
                                      image    = 'sarusso/devmetadesktop',
                                      type     = 'docker',
                                      registry = 'docker_hub',
+                                     protocol = 'https',
                                      ports    = '8590',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
@@ -88,6 +91,7 @@ class Command(BaseCommand):
                                      image    = 'sarusso/minimalmetadesktop',
                                      type     = 'singularity',
                                      registry = 'docker_hub',
+                                     protocol = 'https',
                                      ports    = '8590',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
@@ -100,6 +104,7 @@ class Command(BaseCommand):
                                      image    = 'sarusso/basicmetadesktop',
                                      type     = 'singularity',
                                      registry = 'docker_hub',
+                                     protocol = 'https',
                                      ports    = '8590',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
@@ -112,6 +117,7 @@ class Command(BaseCommand):
                                      image    = 'sarusso/devmetadesktop',
                                      type     = 'singularity',
                                      registry = 'docker_hub',
+                                     protocol = 'https',
                                      ports    = '8590',
                                      supports_dynamic_ports = True,
                                      supports_user_auth     = False,
-- 
GitLab