From 59b1e29f014eae9bad43fcae3841ea7d0823c2df Mon Sep 17 00:00:00 2001 From: Oleg Shuralev Date: Tue, 3 Dec 2019 10:41:48 +0300 Subject: [PATCH] CORS --- docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index b2bd6da95f..e23028132f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -49,7 +49,9 @@ services: KAFKA_REST_SCHEMA_REGISTRY_URL: http://schema-registry:8081/ KAFKA_REST_HOST_NAME: rest-proxy KAFKA_REST_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:9092 + KAFKA_REST_ACCESS_CONTROL_ALLOW_ORIGIN: "*" + KAFKA_REST_ACCESS_CONTROL_ALLOW_METHODS: "GET,POST,PUT,DELETE,OPTIONS,HEAD" depends_on: - zookeeper - kafka - - schema-registry + - schema-registry