Skip to content

Commit 9475ed1

Browse files
authored
[Doc-a-thon] Don't speficy nano
------- cc: @msangapu-msft
1 parent 3670781 commit 9475ed1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/app-service/tutorial-multi-container-app.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ The following changes have been made for Redis (to be used in a later section):
257257
* [Adds Redis Object Cache 1.3.8 WordPress plugin.](https://github.com/Azure-Samples/multicontainerwordpress/blob/5669a89e0ee8599285f0e2e6f7e935c16e539b92/docker-entrypoint.sh#L74)
258258
* [Uses App Setting for Redis host name in WordPress wp-config.php.](https://github.com/Azure-Samples/multicontainerwordpress/blob/5669a89e0ee8599285f0e2e6f7e935c16e539b92/docker-entrypoint.sh#L162)
259259

260-
To use the custom image, you'll update your docker-compose-wordpress.yml file. In Cloud Shell, type `nano docker-compose-wordpress.yml` to open the nano text editor. Change the `image: wordpress` to use `image: mcr.microsoft.com/azuredocs/multicontainerwordpress`. You no longer need the database container. Remove the `db`, `environment`, `depends_on`, and `volumes` section from the configuration file. Your file should look like the following code:
260+
To use the custom image, you'll update your docker-compose-wordpress.yml file. In Cloud Shell, open a text editor and change the `image: wordpress` to use `image: mcr.microsoft.com/azuredocs/multicontainerwordpress`. You no longer need the database container. Remove the `db`, `environment`, `depends_on`, and `volumes` section from the configuration file. Your file should look like the following code:
261261

262262
```yaml
263263
version: '3.3'
@@ -270,8 +270,6 @@ services:
270270
restart: always
271271
```
272272
273-
Save your changes and exit nano. Use the command `^O` to save and `^X` to exit.
274-
275273
### Update app with new configuration
276274
277275
In Cloud Shell, reconfigure your multi-container [web app](overview.md) with the [az webapp config container set](/cli/azure/webapp/config/container#az-webapp-config-container-set) command. Don't forget to replace _\<app-name>_ with the name of the web app you created earlier.

0 commit comments

Comments
 (0)