From 2a8a28d83aa4d7304149c30286a287f696c6f306 Mon Sep 17 00:00:00 2001 From: Ben Rometsch Date: Wed, 27 Jan 2021 20:13:36 +0000 Subject: [PATCH] Made allowed hosts more open --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ed7a7fc..9de7a83 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: api: image: flagsmith/flagsmith-api:latest environment: - DJANGO_ALLOWED_HOSTS: localhost + DJANGO_ALLOWED_HOSTS: "*" # Change this in production DATABASE_URL: postgresql://postgres:password@db:5432/flagsmith DJANGO_DB_HOST: db DJANGO_DB_NAME: flagsmith @@ -26,8 +26,9 @@ services: frontend: image: flagsmith/flagsmith-frontend:latest environment: - API_URL: http://localhost:8000/api/v1/ - ASSET_URL: http://localhost:8080/ + # You might need to change the 2 host names below depending on your docker dns setup + API_URL: http://localhost:8000/api/v1/ + ASSET_URL: http://locahost:8080/ ports: - "8080:8080" links: