Skip to content

Commit 11053a8

Browse files
Merge pull request #232482 from cynthn/patch-64
[Doc-a-thon] Don't speficy nano
2 parents a63dd8f + 7c120a2 commit 11053a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 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.
@@ -329,7 +327,7 @@ When the app setting has been created, Cloud Shell shows information similar to
329327

330328
### Modify configuration file
331329

332-
In the Cloud Shell, type `nano docker-compose-wordpress.yml` to open the nano text editor.
330+
In the Cloud Shell, opne the file `docker-compose-wordpress.yml` in a text editor.
333331

334332
The `volumes` option maps the file system to a directory within the container. `${WEBAPP_STORAGE_HOME}` is an environment variable in App Service that is mapped to persistent storage for your app. You'll use this environment variable in the volumes option so that the WordPress files are installed into persistent storage instead of the container. Make the following modifications to the file:
335333

0 commit comments

Comments
 (0)