Skip to content

Commit

Permalink
Add scheduler host
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Dec 9, 2023
1 parent bbd95eb commit 4c3a85c
Show file tree
Hide file tree
Showing 9 changed files with 7,203 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The collection includes a number of books covering the main topics of:
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/adempiere/adempiere?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Running the docs
For build it just run `yarn build:vite`, if you want to run all doc just run `yarn dev:vite`, a result after run can be:
For run all doc just run `yarn dev:vite`, a result after run can be:

```Shell
yarn run v1.22.19
Expand Down
3 changes: 2 additions & 1 deletion build-docker/development.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ 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" \
SCHEDULER_HOST="http://scheduler:99999"


COPY build-docker/start.sh .
Expand Down
3 changes: 2 additions & 1 deletion build-docker/production-alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ 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" \
SCHEDULER_HOST="http://scheduler:99999"


COPY build-docker/start.sh .
Expand Down
3 changes: 2 additions & 1 deletion build-docker/production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ 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" \
SCHEDULER_HOST="http://scheduler:99999"


COPY build-docker/start.sh .
Expand Down
3 changes: 3 additions & 0 deletions build-docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ 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/webui/|$ZK_HOST|g" {} \;

# Set Scheduler host client
find -name 'index.html.*.js' -exec sed -i "s|http://scheduler:99999|$SCHEDULER_HOST|g" {} \;

# Start nginx web server
nginx && tail -f /dev/null
Binary file added src/.vuepress/public/assets/img/dkron-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ projects:
desc: Completely created on Javascript with Vue
link: http://localhost:9526
icon: /assets/img/vue-logo.png

- name: Scheduler
desc: A Scheduler to run planned tasks
link: http://scheduler:99999
icon: /assets/img/dkron-logo.png
# - name: Discord Rooms
# desc: Hey we are on Discord!
# link: https://discord.gg/8eFAqkhb
Expand Down
4 changes: 4 additions & 0 deletions src/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ projects:
desc: Completamente creada en Javascript con Vue
link: https://github.com/adempiere/adempiere-vue
icon: /assets/img/vue-logo.png
- name: Programador de Tareas
desc: Un Programador de Tareas para ejecutar tareas programadas automáticamente
link: http://scheduler:99999
icon: /assets/img/dkron-logo.png
# - name: Chat de Discord.
# desc: Estamos en Discord!
# link: https://discord.gg/G8nWdaB2
Expand Down
7,184 changes: 7,184 additions & 0 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 4c3a85c

Please sign in to comment.