Skip to content

iisys-hof/HiCuMES

Repository files navigation

Usage with docker-compose

The folder docker_compose contains a compose file and additional docker-files to set up a docker stack with HiCuMES. To populate the missing folders the script package_hicumes.bat can be used. The paths inside the script have to be changed to the correct paths. It will build the necessary components and copy them inside the folder docker_compose_build. It has the same folder structure as the docker_compose folder. It can be copied completely or just selectively.

For deployment there are multiple addresses that have to be changed:

  • Inside the docker-compose.yml the keycloak url has to be changed (MP_JWT_VERIFY_PUBLICKEY_LOCATION, MP_JWT_VERIFY_ISSUER)
  • Every frontend has a environment.ts file where the url for the HiCuMES Backend (baseUrl) and the keycloak url has to be changed
  • The user and password for the database has to be changed inside the docker-compose and inside the Dockerfile in the wildfly folder

The stack can be deployed with docker compose up. On first startup the images will be built. If changes where made to the builds, the script rebuild.sh can be used. It will stop the stack, delete the images, remove volumes that don't keep data and redeploy the stack.

After the stack is running, users can be added to keycloak inside the admin-UI (default http://localhost:8181 - credentials admin:admin). The users have to be added to the group worker or admin.

Inside the testData folder a container can be built and run, that can deploy a BPMN file to camunda and coredata and mappings to HiCuMES (examples can be found in manufacturingTerminal/testData/demoCompany). The path "/docker_compose/testData/Deployment" inside deploy.sh may be changed to the correct path.

The backends use OpenJDK 11 (preferred Adopt OpenJ9 (IBM Semeru) 11 - https://adoptopenjdk.net/)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published