Skip to content

Add HTTP.CORS environment configuration to better support decoupled local development #17

@ben-hamelin

Description

@ben-hamelin

With a decoupled architecture it can be challenging to support testing without proper CORS configuration in both the frontend application and the Elastic instance.

Can we consider adding http.core config to the compose file? e.g.
environment: - "http.cors.allow-origin=*" - "http.cors.enabled=true" - "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization,Access-Control-Allow-Origin,Access-Control-Request-Headers" - "http.cors.allow-credentials=true" - "http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE"

Or alternatively, maybe a simple README update on how to override this if needed, similar to the memory note that is already in place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions