-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from pozgo/develop
Updated to 1.0.4 and added live reload support
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ Workdir is set to `/workdir` | |
|Variable|Notes| | ||
|:--|:--| | ||
|`GIT_REPO`|Remote git based repository - requires mounted keys *see examples below*| | ||
|`LIVE_RELOAD_SUPPORT`|Support for live reload feature. Default set to `false` - Use if auto reload needed| | ||
|
||
### Usage | ||
|
||
|
@@ -51,6 +52,7 @@ docker run \ | |
-ti \ | ||
--name mkdocs \ | ||
-e GIT_REPO='[email protected]:username/my-repo.git' \ | ||
-e LIVE_RELOAD_SUPPORT='true' \ | ||
-v ~/.ssh:/root/.ssh:ro \ | ||
polinux/mkdocs | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters