ローカル環境でdocker composeで立ち上げてもアプリからCORSエラーになる

ローカル環境でFESS+OpenSearch環境をdocker composeで立ち上げてもアプリからCORSエラーになります。
origin ‘http://localhost:5000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

自己解決しました。すみません。ご迷惑おかけしました。