Passing Env variables/values for docker image via Admin UI #465
Replies: 1 comment
-
Thanks for the feedback @tomg-formpak. There is some of this mechanism today, but application-wide environment variables has not been on our radar. Can you enter a feature request for just that part? As you say, you can upload a ZIP file as part of onboarding each tenant and place in that archive whatever you like. For example, you could create a There is also (currently undocumented) an We are considering expanding on this |
Beta Was this translation helpful? Give feedback.
-
@PoeppingT @brtrvn
There are two use-case scenarios:
Application UI
Application UI
. But if the application needs to add extra required Env variables, we need to add that manually in the ECS task definition.Suggestion
The suggested option was to hardcode the KEY-VALUES pairs within the application. But similar to variables AWS_REGION, DB_HOST, DB_NAME, DB_PORT etc., Can we have an option (KEY-VALUE) in the
Application UI
in the dashboard to add user-defined environment variables required for the docker image, so that it’s added to the ECS task/SSM automatically during application deployment/update?Also once the application is deployed/updated and the tenant is onboard, to update/ add new variables later which is common to all tenants, how to pass those variables to the application (from SaaS Boost UI to the running application, so that it gets updated in SSM/ECS task definitions)? Do we need to add/update those manually in ECS tasks or SSM or both? Any suggestions for this?
Suggestion
The suggestion was to use “upload config-file” option in the
Provision Tenant
tab. This suggested feature of the zip file option is good that can be used for other scenarios like adding CSS files, images or attachments in a zip file and the docker application can have the functionalities to read that from the tenant’s S3 bucket.But let’s say, to add env variables for a particular tenant, can we have an option of KEY – VALUE on the
Provision Tenant
tab in theOnboarding page UI
so that it’s added to SSM/ECS tasks and later we can change/update those values from theTenant Detail
in theTenant UI
page for that particular tenant.Thank you
Beta Was this translation helpful? Give feedback.
All reactions