Skip to content

Commit de17dfd

Browse files
committed
show how to customize nginx configuration in a docker container [ci skip]
1 parent 7780a4e commit de17dfd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ $ docker rm test-yadwe
8282
test-yadwe
8383
```
8484

85+
To run the container with a customized *nginx.conf*, mount the file with option
86+
*-v*.
87+
88+
```ShellSession
89+
$ docker run --name test-yadwe --network host -v ./nginx.conf:/opt/nginx/conf/nginx.conf -d lyokha/nginx-haskell-module
90+
```
91+
8592
#### Building custom docker images
8693

8794
The basic docker image can be used to spin off another docker image with

0 commit comments

Comments
 (0)