Created
January 9, 2026 08:42
-
-
Save wullemsb/08e4a964cab4ae4fdd980b0473e43fe4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FRONTEND_APP_NAME="ca-dtrack-frontend-prod" | |
| # Get API server internal URL | |
| API_URL=$(az containerapp show \ | |
| --name $API_APP_NAME \ | |
| --resource-group $RESOURCE_GROUP \ | |
| --query properties.configuration.ingress.fqdn -o tsv) | |
| # Create frontend container app | |
| az containerapp create \ | |
| --name $FRONTEND_APP_NAME \ | |
| --resource-group $RESOURCE_GROUP \ | |
| --environment $ENVIRONMENT_NAME \ | |
| --image dependencytrack/frontend:latest \ | |
| --target-port 8080 \ | |
| --ingress external \ | |
| --min-replicas 1 \ | |
| --max-replicas 3 \ | |
| --cpu 0.5 \ | |
| --memory 1Gi \ | |
| --env-vars \ | |
| "API_BASE_URL=https://${API_URL}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment