From 943900f93983bad4223aae999226a70b80ebaaf1 Mon Sep 17 00:00:00 2001 From: janmax <j.michal@stud.uni-goettingen.de> Date: Thu, 30 Nov 2017 19:17:37 +0100 Subject: [PATCH] Added new domain and using image in staging --- docker-compose.yml | 2 +- grady/settings/live.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a35059a0..2fcc62da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: restart: always grady: - build: . + image: docker.gitlab.gwdg.de/j.michal/grady:master command: - /bin/sh - -c diff --git a/grady/settings/live.py b/grady/settings/live.py index 2f3bfe34..1f827359 100644 --- a/grady/settings/live.py +++ b/grady/settings/live.py @@ -11,7 +11,9 @@ X_FRAME_OPTIONS = 'DENY' DEBUG = False # adjust this setting to your needs -ALLOWED_HOSTS = ['localhost', '.grady.janmax.org'] +ALLOWED_HOSTS = [ + 'localhost', '.grady.janmax.org', 'grady.informatik.uni-goettingen.de' +] # sample postgres sql database configuration DATABASES = { -- GitLab