mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 21:40:18 +02:00
Use elasticsearch api key for authentication (#2772)
This commit is contained in:
committed by
GitHub
parent
3e27bcebc2
commit
5f7ab789ab
@@ -512,11 +512,7 @@ if ELASTICSEARCH_ENABLED:
|
||||
ELASTICSEARCH_DSL = {
|
||||
"default": {
|
||||
"hosts": os.environ.get("ELASTICSEARCH_URL"),
|
||||
"http_auth": (
|
||||
os.environ.get("ELASTICSEARCH_USER"),
|
||||
os.environ.get("ELASTICSEARCH_PASSWORD"),
|
||||
),
|
||||
# "verify_certs": True,
|
||||
"api_key": os.environ.get("ELASTICSEARCH_API_KEY")
|
||||
}
|
||||
}
|
||||
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = os.environ.get(
|
||||
|
||||
Reference in New Issue
Block a user