Commit f4750163 authored by BAIRE Anthony's avatar BAIRE Anthony

remove the ALLGO_DJANGO_REGISTRY variable

no longer needed because registry and django are now share the same
host name
parent 1e3477d8
......@@ -213,7 +213,6 @@ class WebappSandboxCreation(SuccessMessageMixin, LoginRequiredMixin, CreateView)
def get_context_data(self, **kwargs):
context = super(WebappSandboxCreation, self).get_context_data(**kwargs)
context['webapp'] = Webapp.objects.get(docker_name=self.kwargs['docker_name'])
context['registry'] = settings.DJANGO_REGISTRY
return context
......
......@@ -63,10 +63,6 @@ with env_loader.EnvironmentVarLoader(__name__, "ALLGO_",
# runner
#
env_var("ALLGO_DJANGO_REGISTRY", protected=False,
default="localhost:5000",
help="registry address sent to the runner in order to pull docker images")
env_var("ALLGO_DJANGO_MAXUPLOADSIZE", protected=False,
default="16384",
help="max upload size of chunk sended by runner as results")
......
......@@ -305,4 +305,3 @@ MESSAGE_TAGS = {
messages.ERROR: 'danger'
}
DJANGO_REGISTRY = env.ALLGO_DJANGO_REGISTRY
......@@ -33,7 +33,6 @@ services:
environment:
ENV: dev
PYTHONUNBUFFERED: 1
ALLGO_DJANGO_REGISTRY: "localhost:5000"
DJANGO_DEBUG: 1
DJANGO_LOG_LEVEL: "DEBUG"
ALLGO_ALLOWED_HOSTS: 0.0.0.0,dev-django,localhost
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment