Skip to content

Commit

Permalink
Add changes for web ui
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Nov 1, 2023
1 parent 785b17e commit cdb896e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion build-docker/development.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="[email protected]; [email protected]; 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"


Expand Down
2 changes: 1 addition & 1 deletion build-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion build-docker/production-alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="[email protected]; [email protected]; 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"


Expand Down
2 changes: 1 addition & 1 deletion build-docker/production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="[email protected]; [email protected]; 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"


Expand Down
2 changes: 1 addition & 1 deletion build-docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" {} \;
Expand Down

0 comments on commit cdb896e

Please sign in to comment.