adempiere / adempiere-ui-gateway Goto Github PK
View Code? Open in Web Editor NEWDefault Gateway for ADempiere UI
License: GNU General Public License v3.0
Default Gateway for ADempiere UI
License: GNU General Public License v3.0
Since commit 5efd8e1 , there are several improvements, configuration and administration modifications that have to be documented in README.md.
As of now, the dkron is not displayed on browsers.
In the definition of the dkron service, no ports are defined, i.e. the defaults are taken.
Result:
When the tests are done with the present parameters, the browser is only displayed if we use the Container IP and the port 8080
The Docker Compose files docker-compose-cache.yaml and docker-compose-storage.yaml have not been synchronized to the new .env and env_template files.
This means, they do not work as of now.
Also, docker-compose-storage.yaml will be renamed to docker-compose-storage.yml, and docker-compose-vue.yaml to docker-compose-vue.yml, to avoid confusions.
The develop operating mode is for testing.
All available services should be available and also the services should be accessible via port.
Right now, some services are missing.
The idea of this issue is to define a needed service only once and to call it separately when needed.
Motivation
As of now, there are six docker compose files:
In every one of these docker compose files, the required services are defined.
In very seldom cases, a service is called with different parameters.
Mostly, the exact same service is used in different docker compose files.
This means, if one of these services needs a change, it has to be done in every docker compose file, which is prone to errors.
For example, it can be changed in one docker compose file, but left out in anther, leaving the project inconsistent.
If implemented correctly, the service definition would be unified and the possibility of combining services increased.
Solution Suggested
The solution put forward in this issue aims at defining every required service only once in a docker compose file.
Examples of the new docker compose files:
Volume and network definitions must be also considered.
Then, when calling docker compose to execute with the command
start-all.sh -d [auth, cache, develop, storage, vue, default]
the script start-all.sh would execute docker compose as follows:
docker compose -f <file1.yml> -f <file2.yml> -f <file3.yml> ... -f <file n.yml> up -d
Similar measures would take place when shutting down all services in script stop-all .sh.
@EdwinBetanc0urt this maybe of interest to you:
When starting all services with
docker-compose/start-all.sh
there is an error starting the Container adempiere-ui-gateway.envoy.grpc.proxy:
When watching the container log, it shows the following:
{"log":"[2024-05-31 01:03:43.752][10][info][config] [source/server/configuration_impl.cc:130] loading 2 cluster(s)\n","stream":"stderr","time":"2024-05-31T07:03:43.75264586Z"}
{"log":"[2024-05-31 01:03:43.762][10][info][config] [source/server/configuration_impl.cc:138] loading 2 listener(s)\n","stream":"stderr","time":"2024-05-31T07:03:43.762954564Z"}{"log":"[2024-05-31 01:03:43.864][10][critical][main] [source/server/server.cc:414] error initializing config ' /etc/envoy/envoy.yaml': transcoding_filter: Could not find 'order.Order' in the proto descriptor\n","stream":"stderr","time":"2024-05-31T07:03:43.864912823Z"}
{"log":"[2024-05-31 01:03:43.865][10][info][main] [source/server/server.cc:1029] exiting\n","stream":"stderr","time":"2024-05-31T07:03:43.865214771Z"}
{"log":"transcoding_filter: Could not find 'order.Order' in the proto descriptor\n","stream":"stderr","time":"2024-05-31T07:03:43.867317781Z"}
(END)
Seems that a the Order definition is missing.
Depending on the final usage, the project has different docker-compose files:
Additionally, the file start-all.sh is a shell script used to -among other things- start all services.
The idea is to combine both: call the shell script start-all.sh with parameters so that the desired docker-compose file is used.
At implementation, it must be remembered that if docker-compose up is called with a specific file, so must also docker-compose down.
Start services:
docker-compose -f <DOCKER_COMPOSE_FILE> up -d
Stop services:
docker-compose -f <DOCKER_COMPOSE_FILE> down
Kafdrop (https://github.com/obsidiandynamics/kafdrop) is a tool to administer topics, partitions, records, user groups, etc. in Kafka.
Though it is not recommended to use it in a production stack, it may be of great help when testing or debugging.
In our case, it would be added to the "develop" stack.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.