From 7e721afdd353dcde2ea67670c9227594cad5f71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Thu, 7 Jun 2018 14:34:40 +0200 Subject: [PATCH] docker: settings with host IP for API --- docker/docker-settings.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker/docker-settings.py b/docker/docker-settings.py index d3feb8d86f..88346c36c3 100644 --- a/docker/docker-settings.py +++ b/docker/docker-settings.py @@ -1,4 +1,4 @@ -DEBUG = False +DEBUG = True DATABASES = { 'default': { @@ -27,16 +27,16 @@ 'voting', ] -BASEURL = 'http://localhost:5000' +BASEURL = 'http://192.168.124.1:8000' APIS = { - 'authentication': 'http://localhost:5000', - 'base': 'http://localhost:5000', - 'booth': 'http://localhost:5000', - 'census': 'http://localhost:5000', - 'mixnet': 'http://localhost:5000', - 'postproc': 'http://localhost:5000', - 'store': 'http://localhost:5000', - 'visualizer': 'http://localhost:5000', - 'voting': 'http://localhost:5000', + 'authentication': 'http://192.168.124.1:8000', + 'base': 'http://192.168.124.1:8000', + 'booth': 'http://192.168.124.1:8000', + 'census': 'http://192.168.124.1:8000', + 'mixnet': 'http://192.168.124.1:8000', + 'postproc': 'http://192.168.124.1:8000', + 'store': 'http://192.168.124.1:8000', + 'visualizer': 'http://192.168.124.1:8000', + 'voting': 'http://192.168.124.1:8000', }