Requirements and images
Requisitos e imágenes
What the server needs and how to build the two images of your edition. The images are not downloaded from a registry: you build them from the source tree of the delivery.
Qué necesita el servidor y cómo construir las dos imágenes de tu edición. Las imágenes no se bajan de un registro: las construís desde el código fuente de la entrega.
What the server needs
Qué necesita el servidor
| Item | Detail |
|---|---|
| Docker | Version 24 or later, with BuildKit and the Compose plug-in. |
| The source tree of the delivery | The folder that holds build-editions.sh, the three docker-compose.<edition>.yml files and the folders kubrik-erp-be and kubrik-erp-fe. |
| Internet access during the build | The build downloads the base images and the libraries of both applications. |
| Free ports | 80 (administration app), 8222 (application), 5444 (database), 6355 (cache) and, with the Enterprise file, 9200 and 9201 (file store and its console). |
| openssl | To generate the secret keys. |
| Elemento | Detalle |
|---|---|
| Docker | Versión 24 o posterior, con BuildKit y el complemento Compose. |
| El código fuente de la entrega | La carpeta que contiene build-editions.sh, los tres archivos docker-compose.<edición>.yml y las carpetas kubrik-erp-be y kubrik-erp-fe. |
| Salida a internet durante la construcción | La construcción baja las imágenes base y las bibliotecas de las dos aplicaciones. |
| Puertos libres | 80 (aplicación de administración), 8222 (aplicación), 5444 (base de datos), 6355 (caché) y, con el archivo de Enterprise, 9200 y 9201 (almacén de archivos y su consola). |
| openssl | Para generar las claves secretas. |
Build the images
Construir las imágenes
From the root of the source tree, build only the edition you will run:
Desde la raíz del código fuente, construí solo la edición que vas a usar:
- Build the application. docker build --build-arg EDITION=professional -t kubrik-erp-be:professional kubrik-erp-be/
- Build the administration app. docker build --build-arg EDITION=professional -t kubrik-erp-fe:professional kubrik-erp-fe/
- Check the result. docker images lists kubrik-erp-be and kubrik-erp-fe with the tag of the edition.
- Construí la aplicación. docker build --build-arg EDITION=professional -t kubrik-erp-be:professional kubrik-erp-be/
- Construí la aplicación de administración. docker build --build-arg EDITION=professional -t kubrik-erp-fe:professional kubrik-erp-fe/
- Revisá el resultado. docker images lista kubrik-erp-be y kubrik-erp-fe con la etiqueta de la edición.
Replace professional with community or enterprise in both commands and in both tags. To build the six images of the three editions in one go, run ./build-editions.sh.
Reemplazá professional por community o enterprise en los dos comandos y en las dos etiquetas. Para construir de una vez las seis imágenes de las tres ediciones, corré ./build-editions.sh.
Common issues
Problemas habituales
- The build of the administration app stops with an out-of-memory error
- Node ran out of memory. Free memory on the machine, or build on a larger one.
- npm ci fails during the build
- The two dependency files of the source tree do not agree. The source tree is incomplete or was modified: get the delivery again.
- ./build-editions.sh stops halfway
- The script stops at the first error. Read the last lines, fix the cause and run it again: the steps already built are reused.
- La construcción de la aplicación de administración se corta por falta de memoria
- Node se quedó sin memoria. Liberá memoria en la máquina, o construí en una más grande.
- npm ci falla durante la construcción
- Los dos archivos de dependencias del código fuente no coinciden. El código está incompleto o fue modificado: volvé a bajar la entrega.
- ./build-editions.sh se corta a la mitad
- El script se detiene en el primer error. Leé las últimas líneas, corregí la causa y corrélo de nuevo: los pasos ya construidos se reutilizan.