| author | karlerickson |
|---|---|
| ms.author | v-shilichen |
| ms.service | azure-spring-apps |
| ms.custom | devx-track-azurecli |
| ms.topic | include |
| ms.date | 08/19/2025 |
| ms.update-cycle | 1095-days |
Use the following steps to deploy the apps:
-
Enter the project root directory and use the following command to build and deploy the frontend application:
az spring app deploy \ --service ${SPRING_APPS} \ --name ${APP_FRONTEND} \ --build-env BP_WEB_SERVER=nginx \ --source-path ./spring-petclinic-frontend -
Use the following command to build and deploy the
customers-serviceapplication:az spring app deploy \ --service ${SPRING_APPS} \ --name ${APP_CUSTOMERS_SERVICE} \ --source-path \ --config-file-pattern application,customers-service \ --build-env \ BP_MAVEN_BUILT_MODULE=spring-petclinic-customers-service \ BP_JVM_VERSION=17 -
Use the following command to build and deploy the
vets-serviceapplication:az spring app deploy \ --service ${SPRING_APPS} \ --name ${APP_VETS_SERVICE} \ --source-path \ --config-file-pattern application,vets-service \ --build-env \ BP_MAVEN_BUILT_MODULE=spring-petclinic-vets-service \ BP_JVM_VERSION=17 -
Use the following command to build and deploy the
visits-serviceapplication:az spring app deploy \ --service ${SPRING_APPS} \ --name ${APP_VISITS_SERVICE} \ --source-path \ --config-file-pattern application,visits-service \ --build-env \ BP_MAVEN_BUILT_MODULE=spring-petclinic-visits-service \ BP_JVM_VERSION=17