mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
Add -w parameter for windows path (#1351)
* add -w parameter for windows path * add -w parameter for windows path
This commit is contained in:
parent
2e126b787d
commit
00d236e186
@ -37,4 +37,4 @@ RUN addgroup -g ${GROUPID} ${GROUPNAME} && \
|
|||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
USER ${USERNAME}
|
USER ${USERNAME}
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "sh", "/entrypoint.sh" ]
|
||||||
|
6
start.sh
6
start.sh
@ -5,6 +5,7 @@ show_help() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo "-k or --keycloak if you want to use keycloak as identity provider"
|
echo "-k or --keycloak if you want to use keycloak as identity provider"
|
||||||
echo "-d or --down delete all container"
|
echo "-d or --down delete all container"
|
||||||
|
echo "-wp or --windows-path convert to Windows path"
|
||||||
echo "-hi or --host-ip set the host ip"
|
echo "-hi or --host-ip set the host ip"
|
||||||
echo "-hp or --host-port set the host port. Default 8080"
|
echo "-hp or --host-port set the host port. Default 8080"
|
||||||
echo "-w or --wait wait for backend. Default true"
|
echo "-w or --wait wait for backend. Default true"
|
||||||
@ -16,6 +17,10 @@ set_keycloak(){
|
|||||||
KEYCLOAK="true"
|
KEYCLOAK="true"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_windows_path(){
|
||||||
|
export COMPOSE_CONVERT_WINDOWS_PATHS=1
|
||||||
|
}
|
||||||
|
|
||||||
down(){
|
down(){
|
||||||
docker-compose down
|
docker-compose down
|
||||||
exit 0
|
exit 0
|
||||||
@ -49,6 +54,7 @@ while [[ $1 == -* ]]; do
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help|-\?) show_help; exit 0;;
|
-h|--help|-\?) show_help; exit 0;;
|
||||||
-k|--keycloak) set_keycloak; shift;;
|
-k|--keycloak) set_keycloak; shift;;
|
||||||
|
-wp|--windows-path) set_windows_path; shift;;
|
||||||
-d|--down) down; shift;;
|
-d|--down) down; shift;;
|
||||||
-aca) redeploy_aca; shift;;
|
-aca) redeploy_aca; shift;;
|
||||||
-w|--wait) set_wait $2; shift 2;;
|
-w|--wait) set_wait $2; shift 2;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user