You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'll do the almost same thing for our 3 services:
2256
2268
1. We tag the Docker image with the current commit SHA, and push it to our registry
2257
-
2. We use the Azure CLI to update the container app with the new image, and set the environment variables for each service. For the settings and dice APIs, we set the database connection string, and for the gateway API we set the URLs of the other services.
2269
+
2. We add the database connection string in the list of secrets for the settings and dice APIs, so it's not exposed as plain text in the environment variables
2270
+
3. We use the Azure CLI to update the container app with the newimage, and set the environment variables for each service. For the settings and dice APIs, we set the database connection string with a reference to the secret set earlier with`secretref:<secret_name>`, and for the gateway API we set the URLs of the other services.
0 commit comments