WaveMaker supports micro-service enabled architecture. This allows you to build and deploy applications using container-based technology. The rn-app-build Docker image is packed with required software packages and libraries to deploy WaveMaker Application in Docker containers.
/usr/local/content/app during container creation for generating application war.docker container run --rm -it --name <container-name> -v $HOME/.m2:$HOME/.m2 -v $HOME/.npm:$HOME/.npm -v <project-location>:/usr/local/content/app -e profile=<deployment-profile> -e MAVEN_CONFIG=$HOME/.m2 wavemakerapp/rn-app-build:latest
example: docker container run --rm -it --name wmapp -v $HOME/.m2:/root/.m2 -v $HOME/.npm:/root/.npm -v /home/user/MySampleApp:/usr/local/content/app -e profile=deployment -e MAVEN_CONFIG=$HOME/.m2 wavemakerapp/rn-app-build:latest
<project-location>/dist folder, user can use the war file to deploy in Host tomcat or in Tomcat Docker container.docker container run -d --name <container-name> -v <project-location>/dist/:/usr/local/tomcat/webapps/ -p <host_port>:8080 tomcat:9.0.82
example: docker container run -d --name wm-app -v /home/user/MySampleApp/dist/:/usr/local/tomcat/webapps/ -p 80:8080 tomcat:9.0.82
If Docker Running on Host network, use Host IP address for acess Application on the web.Get an Instance IP Address using the following command to access the application on the web. Please run the below command in the web application hosting Instance.
ifconfig
http://<HOST_IP:HOST_PORT>/<APPLICATION_CONTEXT>/.Content type
Image
Digest
sha256:57a9af2a8…
Size
292.3 MB
Last updated
almost 3 years ago
docker pull wavemakerapp/rn-app-build