Обновить sk1/azure_deployment_filled.yml
This commit is contained in:
parent
7a193eda73
commit
1087469088
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user