Skip to content

Commit 3c2e586

Browse files
authored
Update README.md
1 parent faad3a8 commit 3c2e586

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ The local directory `./data` means the directory `data` present in the same pare
113113

114114
![The directory containing the 'docker-compose.yml' file and 'data' folder](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker/blob/master/docker-compose-file-directory.png)
115115

116-
Few resource files are included in the default resource directory `/app/Data` of the Word Processor Docker container. You can find the default resource files that are included in this docker image from [GitHub](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker/tree/master/src/ej2-documenteditor-server/Data). You can configure a different directory with your own resource files (required spell check dictionaries, and template documents) based on your needs. If you customize the default resource directory (change in casing, name or directory level), then you must set the modified directory path (assuming `/app/` as home directory) to environment variable `SPELLCHECK_DICTIONARY_PATH` like below.
116+
Few resource files are included in the default resource directory `/app/Data` of the Word Processor Docker container. You can find those default resource files from [GitHub](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker/tree/master/src/ej2-documenteditor-server/Data). You can configure a new directory with your own resource files (required spell check dictionaries, and template documents) based on your needs.
117117

118+
If you customize the default resource directory (change in casing, name or directory level), then you must set the modified directory path (assuming `/app/` as home directory) to environment variable `SPELLCHECK_DICTIONARY_PATH` like below.
118119
```yaml
119120
version: '3.4'
120121
services:
@@ -152,7 +153,9 @@ The JSON file should contain the language-wise spell check dictionary configurat
152153
]
153154
```
154155

155-
A JSON file is included in the default resource directory `/app/Data` of this Docker image with the name `spellcheck.json`. You can add a different file with your own spell check dictionary configurations. If you customize it, then you must set the new file name to environment variable `SPELLCHECK_JSON_FILENAME` in Docker compose file like below,
156+
A JSON file is included in the default resource directory `/app/Data` of this Docker image with the name `spellcheck.json`. You can add a new file with your own spell check dictionary configurations.
157+
158+
If you customize it, then you must set the new file name to environment variable `SPELLCHECK_JSON_FILENAME` in Docker compose file like below,
156159
```yaml
157160
version: '3.4'
158161

0 commit comments

Comments
 (0)