fix(backend): inject provider credentials from file
This commit is contained in:
@@ -11,6 +11,7 @@ services:
|
||||
THT_DWH_API_KEY_FILE: /run/secrets/dwh_api_key
|
||||
THT_VEC_API_KEY_FILE: /run/secrets/vector_reader_api_key
|
||||
THT_VEC_WRITE_API_KEY_FILE: /run/secrets/vector_writer_api_key
|
||||
THT_MODEL_API_KEY_FILE: /run/secrets/model_api_key
|
||||
THT_SSL_CA: /run/secrets/thoth_ca.pem
|
||||
secrets:
|
||||
- source: dwh_api_key
|
||||
@@ -21,6 +22,8 @@ services:
|
||||
target: vector_writer_api_key
|
||||
- source: thoth_ca
|
||||
target: thoth_ca.pem
|
||||
- source: model_api_key
|
||||
target: model_api_key
|
||||
|
||||
secrets:
|
||||
dwh_api_key:
|
||||
@@ -31,3 +34,5 @@ secrets:
|
||||
file: ${THT_VEC_WRITE_API_KEY_SECRET_FILE:?set THT_VEC_WRITE_API_KEY_SECRET_FILE}
|
||||
thoth_ca:
|
||||
file: ${THT_CA_SECRET_FILE:?set THT_CA_SECRET_FILE}
|
||||
model_api_key:
|
||||
file: ${THT_MODEL_API_KEY_SECRET_FILE:?set THT_MODEL_API_KEY_SECRET_FILE}
|
||||
|
||||
Reference in New Issue
Block a user