mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
docs(v1): Docker: remind the user to use the --host flag (#4048)
* Update getting-started-docker.md to remind the user to use the --host flag Currently this part of the docs doesn't remind the user to use the --host flag. If the user doesn't use it, then the website will not be accessible outside of the docker container. This is what the user ultimately wants, to avoid using node and ruby and develop/productivize his website in a container. * Upper case correction Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
0a75ed5d49
commit
13bfe8dbc9
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ To run the local web server:
|
|||
|
||||
This will start a docker container with the image `docusaurus-doc`. To see more detailed container info run `docker ps` .
|
||||
|
||||
To access Docusaurus from outside the docker container you must add the `--host` flag to the `docusaurus-start` command as described in: [API Commands](api-commands.md#docusaurus-start)
|
||||
|
||||
## Use docker-compose
|
||||
|
||||
We can also use `docker-compose` to configure our application. This feature of docker allows you to run the web server and any additional services with a single command.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue