moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 200 forks source link

Fix docker open search and Change default image because of deprecation of openjdk #544

Closed acetousk closed 1 year ago

acetousk commented 2 years ago

Adds support for open search using the docker container. It figures out which image you're using based on the presense of runtime/opensearch or runtime/elasticsearch.

Fix docker/moqui-start.sh by changing the port from 8080 to 80 as per the Dockerfile and automatically build the image from source. Fix docker/compose-up.sh by adding support for open search and automatically build the image from source. Fix docker/clean.sh by adding support for open search. Fix docker/simple/Dockerfile by adding support for open search, figured out how the groups should be made to have same container search, and the appropriate volume. Fix docker/simple/docker-build.sh by adding support for open search and configurable image as per: https://github.com/moqui/moqui-framework/pull/540.

Add a .gitignore for when committing after not running docker/clean.sh

Also should probably do a squash commit here. Sorry for so many commits.