From 10874690883f23e460db9c282dcfdb41cd88f2ed Mon Sep 17 00:00:00 2001 From: Yan Kasabutski Date: Tue, 13 May 2025 04:03:16 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20sk1/azure=5Fdeployment=5Ffilled.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sk1/azure_deployment_filled.yml | 117 +++++++++++++++++--------------- 1 file changed, 63 insertions(+), 54 deletions(-) diff --git a/sk1/azure_deployment_filled.yml b/sk1/azure_deployment_filled.yml index 9cff0a6..95dd1be 100644 --- a/sk1/azure_deployment_filled.yml +++ b/sk1/azure_deployment_filled.yml @@ -1,54 +1,63 @@ -apiVersion: '2019-12-01' -location: westus -name: brabus-container-group -properties: - containers: - - name: brabus-app - properties: - image: carsalonacr123.azurecr.io/brabus-app:latest - resources: - requests: - cpu: 1.0 - memoryInGB: 1.5 - ports: - - port: 3000 - environmentVariables: - - name: PORT - value: '3000' - - name: MONGODB_URI - secureValue: mongodb://brabus_admin:ZKT_KASABUTSKI_77557755@mongodb:27017/brabus?authSource=admin - - name: JWT_SECRET - secureValue: 6954f97ecc686eab533c9694d4d2595120d48eb27b0ad07a7b176e0a048ecdd4 - - name: NODE_ENV - value: 'production' - - name: mongodb - properties: - image: mongo:latest - resources: - requests: - cpu: 1.0 - memoryInGB: 1.5 - ports: - - port: 27017 - environmentVariables: - - name: MONGO_INITDB_ROOT_USERNAME - secureValue: brabus_admin - - name: MONGO_INITDB_ROOT_PASSWORD - secureValue: ZKT_KASABUTSKI_77557755 - volumeMounts: - - name: mongodb-data - mountPath: /data/db - osType: Linux - ipAddress: - type: Public - ports: - - protocol: TCP - port: 3000 - volumes: - - name: mongodb-data - azureFile: - shareName: mongodb-data - storageAccountName: carsalonstorage - storageAccountKey: -tags: {} -type: Microsoft.ContainerInstance/containerGroups +apiVersion: '2019-12-01' +location: westus +name: brabus-container-group +properties: + containers: + - name: brabus-app + properties: + image: ${AZURE_CONTAINER_REGISTRY_URL}/brabus-app:latest + resources: + requests: + cpu: 1.0 + memoryInGB: 1.5 + ports: + - port: 3000 + environmentVariables: + - name: PORT + value: '3000' + - name: MONGODB_URI + secureValue: ${MONGODB_URI} + - name: JWT_SECRET + secureValue: ${JWT_SECRET} + - name: NODE_ENV + value: 'production' + - name: mongodb + properties: + image: mongo:latest + resources: + requests: + cpu: 1.0 + memoryInGB: 1.5 + ports: + - port: 27017 + environmentVariables: + - name: MONGO_INITDB_ROOT_USERNAME + secureValue: brabus_admin + - name: MONGO_INITDB_ROOT_PASSWORD + secureValue: ZKT_KASABUTSKI_77557755 + volumeMounts: + - name: mongodb-data + mountPath: /data/db + osType: Linux + ipAddress: + type: Public + ports: + - protocol: TCP + port: 3000 + volumes: + - name: mongodb-data + azureFile: + shareName: mongodb-data + storageAccountName: ${STORAGE_ACCOUNT_NAME} + storageAccountKey: ${STORAGE_ACCOUNT_KEY} +tags: {} +type: Microsoft.ContainerInstance/containerGroups + port: 3000 + volumes: + - name: mongodb-data + azureFile: + shareName: mongodb-data + storageAccountName: carsalonstorage + storageAccountKey: +tags: {} +type: Microsoft.ContainerInstance/containerGroups