Kubrik OSSUPPORTSOPORTE All productsTodos los productos
Technical manualManual técnico › Installation › Before you install › Requirements and imagesInstalación › Antes de instalar › Requisitos e imágenes

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.

👤 Who: System administrator📍 Where: Server console
👤 Quién: Administrador de sistemas📍 Dónde: Consola del servidor

What the server needs

Qué necesita el servidor

ItemDetail
DockerVersion 24 or later, with BuildKit and the Compose plug-in.
The source tree of the deliveryThe 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 buildThe build downloads the base images and the libraries of both applications.
Free ports80 (administration app), 8222 (application), 5444 (database), 6355 (cache) and, with the Enterprise file, 9200 and 9201 (file store and its console).
opensslTo generate the secret keys.
ElementoDetalle
DockerVersión 24 o posterior, con BuildKit y el complemento Compose.
El código fuente de la entregaLa 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ónLa construcción baja las imágenes base y las bibliotecas de las dos aplicaciones.
Puertos libres80 (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).
opensslPara generar las claves secretas.
ℹ️
The delivery does not state a minimum of processor, memory or disk. One figure is fixed: the build of the administration app gives Node up to 4096 MB of memory, so the machine that builds needs more than that free. To build on a smaller machine, lower it with --build-arg MAX_OLD_SPACE_SIZE=<megabytes>.La entrega no fija un mínimo de procesador, memoria ni disco. Hay un número fijo: la construcción de la aplicación de administración le da a Node hasta 4096 MB de memoria, así que la máquina que construye necesita más que eso libre. Para construir en una máquina más chica, bajalo con --build-arg MAX_OLD_SPACE_SIZE=<megabytes>.

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:

  1. Build the application. docker build --build-arg EDITION=professional -t kubrik-erp-be:professional kubrik-erp-be/
  2. Build the administration app. docker build --build-arg EDITION=professional -t kubrik-erp-fe:professional kubrik-erp-fe/
  3. Check the result. docker images lists kubrik-erp-be and kubrik-erp-fe with the tag of the edition.
  1. Construí la aplicación. docker build --build-arg EDITION=professional -t kubrik-erp-be:professional kubrik-erp-be/
  2. Construí la aplicación de administración. docker build --build-arg EDITION=professional -t kubrik-erp-fe:professional kubrik-erp-fe/
  3. 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.

⚠️
Use the same edition in both commands. An administration app of one edition in front of an application of another shows a menu that does not match what the application reports.Usá la misma edición en los dos comandos. Una aplicación de administración de una edición delante de una aplicación de otra muestra un menú que no coincide con lo que informa la aplicación.
ℹ️
The application image is built without running its tests, and takes several minutes the first time because it downloads every library.La imagen de la aplicación se construye sin correr sus pruebas, y la primera vez tarda varios minutos porque baja todas las bibliotecas.

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.

RelatedRelacionado