Обновить sk1/azure_deployment_filled.yml
This commit is contained in:
parent
7a193eda73
commit
1087469088
@ -1,54 +1,63 @@
|
|||||||
apiVersion: '2019-12-01'
|
apiVersion: '2019-12-01'
|
||||||
location: westus
|
location: westus
|
||||||
name: brabus-container-group
|
name: brabus-container-group
|
||||||
properties:
|
properties:
|
||||||
containers:
|
containers:
|
||||||
- name: brabus-app
|
- name: brabus-app
|
||||||
properties:
|
properties:
|
||||||
image: carsalonacr123.azurecr.io/brabus-app:latest
|
image: ${AZURE_CONTAINER_REGISTRY_URL}/brabus-app:latest
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1.0
|
cpu: 1.0
|
||||||
memoryInGB: 1.5
|
memoryInGB: 1.5
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
environmentVariables:
|
environmentVariables:
|
||||||
- name: PORT
|
- name: PORT
|
||||||
value: '3000'
|
value: '3000'
|
||||||
- name: MONGODB_URI
|
- name: MONGODB_URI
|
||||||
secureValue: mongodb://brabus_admin:ZKT_KASABUTSKI_77557755@mongodb:27017/brabus?authSource=admin
|
secureValue: ${MONGODB_URI}
|
||||||
- name: JWT_SECRET
|
- name: JWT_SECRET
|
||||||
secureValue: 6954f97ecc686eab533c9694d4d2595120d48eb27b0ad07a7b176e0a048ecdd4
|
secureValue: ${JWT_SECRET}
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: 'production'
|
value: 'production'
|
||||||
- name: mongodb
|
- name: mongodb
|
||||||
properties:
|
properties:
|
||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1.0
|
cpu: 1.0
|
||||||
memoryInGB: 1.5
|
memoryInGB: 1.5
|
||||||
ports:
|
ports:
|
||||||
- port: 27017
|
- port: 27017
|
||||||
environmentVariables:
|
environmentVariables:
|
||||||
- name: MONGO_INITDB_ROOT_USERNAME
|
- name: MONGO_INITDB_ROOT_USERNAME
|
||||||
secureValue: brabus_admin
|
secureValue: brabus_admin
|
||||||
- name: MONGO_INITDB_ROOT_PASSWORD
|
- name: MONGO_INITDB_ROOT_PASSWORD
|
||||||
secureValue: ZKT_KASABUTSKI_77557755
|
secureValue: ZKT_KASABUTSKI_77557755
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mongodb-data
|
- name: mongodb-data
|
||||||
mountPath: /data/db
|
mountPath: /data/db
|
||||||
osType: Linux
|
osType: Linux
|
||||||
ipAddress:
|
ipAddress:
|
||||||
type: Public
|
type: Public
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 3000
|
port: 3000
|
||||||
volumes:
|
volumes:
|
||||||
- name: mongodb-data
|
- name: mongodb-data
|
||||||
azureFile:
|
azureFile:
|
||||||
shareName: mongodb-data
|
shareName: mongodb-data
|
||||||
storageAccountName: carsalonstorage
|
storageAccountName: ${STORAGE_ACCOUNT_NAME}
|
||||||
storageAccountKey:
|
storageAccountKey: ${STORAGE_ACCOUNT_KEY}
|
||||||
tags: {}
|
tags: {}
|
||||||
type: Microsoft.ContainerInstance/containerGroups
|
type: Microsoft.ContainerInstance/containerGroups
|
||||||
|
port: 3000
|
||||||
|
volumes:
|
||||||
|
- name: mongodb-data
|
||||||
|
azureFile:
|
||||||
|
shareName: mongodb-data
|
||||||
|
storageAccountName: carsalonstorage
|
||||||
|
storageAccountKey:
|
||||||
|
tags: {}
|
||||||
|
type: Microsoft.ContainerInstance/containerGroups
|
||||||
|
Loading…
Reference in New Issue
Block a user