Clone
2
mRomexis WebApp
Patrick Gniza edited this page 2026-08-17 10:48:39 +02:00

Deutsch | English

mRomexis Web App

The romexis-app service provides the Planmeca mRomexis Web frontend as a separate container.

The web application is served by Tomcat and is kept separate from the Romexis server container.


Version Requirement

The mRomexis Web App WAR file is available only in Romexis 6.5.3 and newer.

Expected payload path:

/opt/romexis/broker/mromexis-html.war

During the image build, this WAR is copied into Tomcat as:

/usr/local/tomcat/webapps/ROOT.war

Older Romexis payload versions do not contain the WAR file and therefore cannot build a valid mRomexis Web App image.


Runtime Services

romexis-app
  Tomcat container serving ROOT.war.

proxy
  OpenResty/Nginx proxy exposing the app and rewriting backend proxy requests.

romexis
  Romexis backend service used by the web app through the internal proxy target.

Access

Open the mRomexis Web App through the configured proxy port:

http://localhost:8081

If MROMEXIS_WEB_PORT is changed, adjust the port accordingly.


Proxy Behavior

The proxy handles requests from the web app and rewrites mRomexis backend proxy calls to the internal Romexis service.

The proxy does not trust the browser-supplied host from /proxy?url=....

Instead, it extracts only the path and query string and forwards the request to:

http://romexis:8093

This avoids maintaining internal IP addresses and prevents the endpoint from becoming an open HTTP proxy.


Image Tags

gitea.buchhorster.de/planmeca/romexis-mromexis-app:<version>-amd64
gitea.buchhorster.de/planmeca/romexis-mromexis-app:<version>-arm64
gitea.buchhorster.de/planmeca/romexis-mromexis-app:<version>
gitea.buchhorster.de/planmeca/romexis-mromexis-app:latest

Local Build

Build through the local helper script:

./scripts/build-local.sh mromexis

Or manually:

docker buildx build   --platform linux/amd64   --provenance=false   --sbom=false   --build-arg TARGETARCH=amd64   --build-arg ROMEXIS_VERSION=6.5.3.444.203   --build-arg ROMEXIS_PAYLOAD_IMAGE=gitea.buchhorster.de/planmeca/romexis-payload:6.5.3.444.203   -t gitea.buchhorster.de/planmeca/romexis-mromexis-app:6.5.3.444.203-amd64   --load   ./romexis-mromexis-app

Troubleshooting

WAR file not found

If the build fails while copying mromexis-html.war, verify that the selected Romexis payload version is 6.5.3 or newer.

docker run --rm --entrypoint find   gitea.buchhorster.de/planmeca/romexis-payload:6.5.3.444.203   /opt/romexis -name 'mromexis-html.war'

Web app starts but backend calls fail

Check the proxy logs:

docker compose logs -f proxy

Check that the Romexis backend service is reachable internally:

docker compose exec proxy wget -O- http://romexis:8093/ || true