From 10bbce5306a95e56ca41cbdcfb2a5bbca195fc8c Mon Sep 17 00:00:00 2001 From: cjenkscybercom Date: Tue, 26 Mar 2024 09:15:16 +0100 Subject: [PATCH] fix: set host vars in docker compose --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index c9156da..beed63f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,10 @@ services: depends_on: - mongo - elastic + environment: + cors.allowed.origins: http://localhost:3000 + mongo.host: mongo + elasticsearch.network.host: elastic # Ensure that the elastic server is up before starting olog. command: > /bin/bash -c "