diff --git a/README.md b/README.md index 13f90ae1..16374bbf 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ docker run -it -d \ --name adempiere-landing-page \ -p 80:80 \ -e VUE_HOST="http://localhost:9526" \ - -e ZK_HOST="http://localhost:8888" \ + -e ZK_HOST="http://localhost:8888/webui/" \ -e SWING_HOST="http://localhost/adempiere.zip" \ erpya/adempiere-landing-page ``` diff --git a/build-docker/development.Dockerfile b/build-docker/development.Dockerfile index da9f0a33..c3868e6b 100644 --- a/build-docker/development.Dockerfile +++ b/build-docker/development.Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="EdwinBetanc0urt@outlook.com; ElsioSanchez15@outlook.com; ySeni # Init ENV with default values ENV VUE_HOST="http://localhost:9526" \ - ZK_HOST="http://localhost:8888" \ + ZK_HOST="http://localhost:8888/webui/" \ SWING_HOST="http://localhost/adempiere.zip" diff --git a/build-docker/docker-compose.yaml b/build-docker/docker-compose.yaml index 981c8d51..7d3df38c 100644 --- a/build-docker/docker-compose.yaml +++ b/build-docker/docker-compose.yaml @@ -84,5 +84,5 @@ services: - 80:80 environment: - VUE_HOST=http://localhost:9526 - - ZK_HOST=http://localhost:8888 + - ZK_HOST=http://localhost:8888/webui/ - SWING_HOST="http://localhost/adempiere.zip" diff --git a/build-docker/production-alpine.Dockerfile b/build-docker/production-alpine.Dockerfile index 3fe097a7..2a462ecb 100644 --- a/build-docker/production-alpine.Dockerfile +++ b/build-docker/production-alpine.Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="EdwinBetanc0urt@outlook.com; ElsioSanchez15@outlook.com; ySeni # Init ENV with default values ENV VUE_HOST="http://localhost:9526" \ - ZK_HOST="http://localhost:8888" \ + ZK_HOST="http://localhost:8888/webui/" \ SWING_HOST="http://localhost/adempiere.zip" diff --git a/build-docker/production.Dockerfile b/build-docker/production.Dockerfile index da9f0a33..c3868e6b 100644 --- a/build-docker/production.Dockerfile +++ b/build-docker/production.Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="EdwinBetanc0urt@outlook.com; ElsioSanchez15@outlook.com; ySeni # Init ENV with default values ENV VUE_HOST="http://localhost:9526" \ - ZK_HOST="http://localhost:8888" \ + ZK_HOST="http://localhost:8888/webui/" \ SWING_HOST="http://localhost/adempiere.zip" diff --git a/build-docker/start.sh b/build-docker/start.sh index 300f83d7..211e6a5b 100644 --- a/build-docker/start.sh +++ b/build-docker/start.sh @@ -7,7 +7,7 @@ cd /usr/share/nginx/html/static/js find -name 'index.html.*.js' -exec sed -i "s|http://localhost:9526|$VUE_HOST|g" {} \; # Set ZK host client -find -name 'index.html.*.js' -exec sed -i "s|http://localhost:8888|$ZK_HOST|g" {} \; +find -name 'index.html.*.js' -exec sed -i "s|http://localhost:8888/webui/|$ZK_HOST|g" {} \; # Set Swing host client find -name 'index.html.*.js' -exec sed -i "s|http://swing_deprecated_reference|$SWING_HOST|g" {} \;