♻️(backend) generalize YProvider API config
Abstracted base URL and API key under 'y-provider' for reuse in future endpoints, aligning with microservice naming. Please note the YProvider API here is internal to the cluster. In facts, we don't want these endpoints to be exposed by any ingress
This commit is contained in:
committed by
aleb_the_flash
parent
ba63358098
commit
c10808b611
@@ -51,8 +51,8 @@ backend:
|
||||
AWS_S3_SECRET_ACCESS_KEY: password
|
||||
AWS_STORAGE_BUCKET_NAME: impress-media-storage
|
||||
STORAGES_STATICFILES_BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage
|
||||
CONVERSION_API_URL: http://impress-y-provider:443/api/convert-markdown/
|
||||
CONVERSION_API_KEY: my-secret
|
||||
Y_PROVIDER_API_BASE_URL: http://impress-y-provider:443/api/
|
||||
Y_PROVIDER_API_KEY: my-secret
|
||||
|
||||
migrate:
|
||||
command:
|
||||
|
||||
Reference in New Issue
Block a user