You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARM template `deploycosmos.json` and its parameter file (`deploycosmos.parameters.json`) are used to deploy following resources:
4
+
5
+
1. One Cosmosdb database
6
+
7
+
## Editing deploycosmos.parameters.json file
8
+
9
+
You can edit the `deploycosmos.parameters.json` file to set your values, but is not needed. The only parameter that can
10
+
be set is:
11
+
12
+
1.`name` is a string that is used to create the database name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.
13
+
14
+
## Deploy the template
15
+
16
+
Once parameter file is edited you can deploy it using [create-resources script](../readme.md).
17
+
18
+
i. e. if you are in windows, to deploy a Cosmosdb database in a new resourcegroup located in westus, go to `deploy\az` folder and type:
The ARM template `deploystorage.json` and its parameter file (`deploystorage.parameters.json`) are used to deploy following resources:
4
+
5
+
1. One Storage Account
6
+
2. One CDN profile
7
+
3. One Endpoint
8
+
9
+
## Editing deploystorage.parameters.json file
10
+
11
+
You can edit the `deploystorage.parameters.json` file to set your values, but is not needed. The only parameters that can
12
+
be set are:
13
+
14
+
1.`catalogstorage` is a string that is used to create the storage account name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.
15
+
16
+
2.`profileName` is a string that is used to create the CDN profile name.
17
+
18
+
3.`endpointName` is a string that is used to create the storage endpoint name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.
19
+
20
+
## Deploy the template
21
+
22
+
Once parameter file is edited you can deploy it using [create-resources script](../../readme.md).
23
+
24
+
i. e. if you are in windows, to deploy a Storage Account in a new resourcegroup located in westus, go to `deploy\az` folder and type:
The ARM template `deploystorage.json` and its parameter file (`deploystorage.parameters.json`) are used to deploy following resources:
4
+
5
+
1. One Storage Account
6
+
2. One CDN profile
7
+
3. One Endpoint
8
+
9
+
## Editing deploystorage.parameters.json file
10
+
11
+
You can edit the `deploystorage.parameters.json` file to set your values, but is not needed. The only parameters that can
12
+
be set are:
13
+
14
+
1.`marketingstorage` is a string that is used to create the storage account name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.
15
+
16
+
2.`profileName` is a string that is used to create the CDN profile name.
17
+
18
+
3.`endpointName` is a string that is used to create the storage endpoint name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.
19
+
20
+
## Deploy the template
21
+
22
+
Once parameter file is edited you can deploy it using [create-resources script](../../readme.md).
23
+
24
+
i. e. if you are in windows, to deploy a Storage account in a new resourcegroup located in westus, go to `deploy\az` folder and type:
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG} #Local: You need to open your local dev-machine firewall at range 5100-5110.
33
+
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
93
97
- BasketUrl=http://basket.api
94
98
- MarketingUrl=http://marketing.api
99
+
- UseCustomizationData=True #Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
95
100
ports:
96
101
- "5100:80"
97
102
@@ -106,17 +111,19 @@ services:
106
111
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL} #Local: You need to open your local dev-machine firewall at range 5100-5110.
33
+
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
117
123
- BasketUrl=http://basket.api
118
-
- MarketingUrl=http://marketing.api
124
+
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
125
+
- MarketingUrl=http://marketing.api #Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser.
126
+
#Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
0 commit comments