-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcontainers.yaml
61 lines (59 loc) · 1.48 KB
/
containers.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
apiVersion: 2019-12-01
location: uksouth
name: lgDrupalContainerGroup
properties:
containers:
- name: nginx-drupal
properties:
image: portal-nginx-drupal:latest
resources:
requests:
cpu: 1
memoryInGb: 1.5
ports:
- port: 443
- name: drupal-fpm
properties:
image: portal-drupal-fpm:latest
resources:
requests:
cpu: 1
memoryInGb: 1.5
environmentVariables:
- name: MYSQL_HOST
value: mariadb-ecc-gov-dev-svr.mariadb.database.azure.com
- name: MYSQL_USER
value: mariadb-root
- name: MYSQL_PASSWORD
secureValue: <PASSWORD>
- name: MYSQL_DATABASE
value: drupal
volumeMounts:
- mountPath: /drupal/web/sites/default/files
name: filesharevol
- mountPath: /drupal/data/default/private
name: privsharevol
osType: Linux
ipAddress:
type: Public
ports:
- protocol: tcp
port: 443
dnsNameLabel: ecc-gov-drupal-dev
imageRegistryCredentials:
- server: eccgovreg.azurecr.io
username: eccgovreg
password: <PASSWORD
volumes:
- name: filesharevol
azurefile:
sharename: eccgovdrupalshare
storageAccountName: eccgovdrupalsa
storageAccountKey: <KEY>
- name: privsharevol
azurefile:
sharename: eccgovdrupalprivate
storageAccountName: eccgovdrupalsa
storageAccountKey: <KEY>
tags: {owner: devops}
type: Microsoft.ContainerInstance/containerGroups