|
|
@ -49,6 +49,13 @@ usage () |
|
|
|
echo -e " ${txtg}./0-get-certs.sh${NOCOLOR} " |
|
|
|
echo " ********************************************" |
|
|
|
echo "" |
|
|
|
echo " ---------------------------- WSL2 --------------------------" |
|
|
|
echo "" |
|
|
|
echo -e "With Docker Desktop running on ${txturl1}WSL 2${NOCOLOR}, users can use: ${txtg}http://127.0.0.1:8080${NOCOLOR}" |
|
|
|
echo "" |
|
|
|
echo " ------------------------------------------------------------" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo " " |
|
|
|
} |
|
|
|
|
|
|
@ -64,7 +71,7 @@ docker pull hub.swarmlab.io:5480/antora |
|
|
|
|
|
|
|
./0-cert.error |
|
|
|
|
|
|
|
docker run -ti --name swarmlab-documentation -v $PWD/$docdir:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/run/$build'" |
|
|
|
docker run -ti --name swarmlab-documentation -p 8080:8080 -v $PWD/$docdir:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/run/$build'" |
|
|
|
} |
|
|
|
|
|
|
|
COMMAND_CREATE=0 |
|
|
|