Installation#
This part explains how to install Empowerment Center 8 on your own server, from the container images to the first user who signs in to analyze data. Choose the way to install and follow its pages in order.
Before you start#
Have at hand:
- A server that meets the requirements, with Docker and Docker Compose or with a JRE 25 and a web server.
- If the own database is going to be in the organization's Oracle and not in a PostgreSQL, an Oracle user for ECenter (see The own database in Oracle).
- The public name of the installation (
ecenter.example.org) and its TLS certificate. - The details of the organization's mail server, if emails are going to be sent.
- The ECenter images (
ecenter/backend:8.0.0andecenter/frontend:8.0.0) or the sources to build them. - The Action Ware contact to request the license.
Ways to install#
| Way | When it fits | Page |
|---|---|---|
| Docker Compose | The reference way: a single server with the own database, the backend, the frontend and, if wanted, the headless browser and the routing engine. It is the installation tested with each version. | Install with Docker Compose |
| Another orchestrator | Kubernetes or another: the same images, with the configuration of deploy/compose.yaml translated into its objects. |
Install with Docker Compose, as a reference |
| Without containers | When the organization does not allow containers: the backend as a Java service and the web application on the web server it already has. | Install without containers |
In all three, the own database is a PostgreSQL by default. If the organization wants to have it in its Oracle, so as not to maintain another engine, the installation is the same and only where the own database variables point to changes: see The own database in Oracle.
Installation order#
- Prepare the configuration. The required variables, the secrets key and the first administrator.
- Start. The first time, the backend creates the schema of the own database (one or two minutes).
- Publish it with TLS. The frontend is the entry point or goes behind the organization's proxy: The reverse proxy and TLS.
- Install the license. Without it, the application only lets you install it: The license.
- Go live. Email, the first connection, the metadata and the users: First start and go-live.
- Add the optional parts. The headless browser, the routing engine, the base map and the metrics for Prometheus: Optional services.
The parts of the installation#
| File | What it is |
|---|---|
deploy/compose.yaml |
The sample installation with Docker Compose: the own database, the backend, the frontend and, with profiles, the headless browser and the routing engine. It carries no secret. |
deploy/ecenter.env.example |
The configuration of an installation, commented and without secrets. It is copied as deploy/.env. |
deploy/db-init/20-ecenter.sql |
The script that prepares the own database the first time its container starts. |
deploy/compose.oracle.yaml and deploy/oracle-init/20-ecenter.sh |
To try ECenter with the own database in Oracle: an Oracle Free in a container instead of PostgreSQL, with the ECenter user already created. It is not for production (see The own database in Oracle). |
backend/Dockerfile |
The backend image: the application on a JRE 25, with the user ecenter (uid 10001). |
frontend/Dockerfile and frontend/nginx/ |
The frontend image: the compiled web application and the manuals, served by unprivileged nginx (uid 101), with its proxy configuration. |
No image carries source code, build tools or secrets, and none runs as root. Third-party images (PostGIS, Chromium, Valhalla) are pinned by their digest: building or starting again does not change what is installed without you deciding it (see Upgrade to a new version).
The manuals at /ayuda/#
The frontend image carries the user manual, the administration manual, the glossary and the release notes, and serves them at /ayuda/ of the installation itself (https://ecenter.example.org/ayuda/), with the English ones at /ayuda/en/. The application opens them from its Help menu, with F1, from the Portal help button and from the Help signing in link on the sign-in screen.
- Without a session or license. They are static files, without customer data: they do not go through the backend and can be read even if there is no license or the backend is stopped. No variable changes them.
- They go with the version. They are built with the image from the sources, so each version carries its manuals. The build checks the links, the figures and the help of each screen: if something fails, the image is not built.
- No PDF. The image does not carry the PDFs of the manuals or their printable version: the PDFs are downloaded from the
manualesartifact of continuous integration.
To build the image, the manuales/ directory is passed as a second context, manuales (with Compose, deploy/compose.yaml does it; with docker build, --build-context manuales=manuales; see Prepare the images). With another web server, see Another web server instead of the frontend.
The help for each screen#
Help for this screen (and F1) opens the manual page that explains the screen being viewed. Which page corresponds to each screen is given by the map frontend/src/app/shell/help-pages.json: each application route, without parameters (cubes/:job), with its page relative to /ayuda/ and its anchor (usuario/cubos/visor.html), and, on screens with tabs, one page per tab (tab). In English the same page and anchor are opened under /ayuda/en/.
If you change the manuals, keep the map up to date:
- When renaming a page or a heading that the map names, change the map too. The anchor of a heading is its text in lowercase, without accents and with hyphens (
## La lista de usuariosgives#la-lista-de-usuarios). An English heading keeps the anchor of the Spanish one (## The user list { #la-lista-de-usuarios }). - The hook
manuales/hooks/ayuda.pychecks it at the end of each build of the site: if a page or an anchor of the map does not exist, the build fails and says which screen is left without help. As the frontend image builds the site, the image is not built either. - When adding a screen to the application, add it to the map: a frontend test checks that every route has its page.