Building a Docker Image
You can run the INUBIT Process Engine as a Docker container. To do so, you build your own image in which the Linux installer installs INUBIT unattended during the build, and run it together with a database container.
This page assumes experience with Docker, Docker Compose, and running containers. It only describes the aspects that are specific to INUBIT.
|
The Dockerfile, start script, and Compose file on this page are examples. Virtimo doesn’t provide support for self-built Docker images. You’re responsible for keeping the base image, operating system packages, and other components in the image up to date and for fixing known vulnerabilities (CVEs). |
How it works
The Docker environment separates program files, configuration, and runtime data:
- Image
-
A multi-stage build runs the installer in the first stage and copies only the finished installation into the runtime image. The build replaces passwords generated by the installer with placeholders. The image contains neither the license nor the configuration or passwords and can therefore be distributed through a registry.
- Configuration
-
The license and XML configuration files are stored in a directory on the Docker host that is mounted read-only into the container. At every start, the start script copies these files into the installation and replaces placeholders with environment variables.
- Runtime data
-
The
<SUITE-INSTALL-DIR>/inubit/server/ibis_rootand<SUITE-INSTALL-DIR>/inubit/server/process_engine/logsdirectories are stored in volumes.
In the image, the installation is located at /opt/inubit.
Therefore, the <SUITE-INSTALL-DIR> path corresponds to this directory in the container.
Prerequisites
For the build and operation, you need the following:
-
Docker Engine with BuildKit for the build, and Docker Engine and Docker Compose for operation, each on x86-64. The installer and the bundled Java runtime don’t support other architectures.
-
The
setupLinuxX64-<INUBIT-version>.bininstallation file from the customer portal. -
An INUBIT license, see License binding in the container.
-
The JDBC driver for your database, see System requirements. The installer doesn’t include database drivers.
License binding in the container
INUBIT licenses are bound to a MAC address or IP address. The Process Engine looks for this address on its network interfaces at startup. In the container, it only sees the interfaces of the container, whose addresses Docker assigns anew for each new container. Therefore, a license for the Docker host isn’t valid in the container.
Check your license for running INUBIT in a Docker container, and contact Virtimo AG support if you have any questions.
Building the image
The build directory only contains the files for the build:
inubit-build/
├── .dockerignore
├── Dockerfile
├── docker-entrypoint.sh
├── install.properties
├── setupLinuxX64-<INUBIT-version>.bin
└── jdbc/
└── <JDBC-driver>.jar
The build copies all JAR files from the jdbc directory into the <SUITE-INSTALL-DIR>/inubit/server/process_engine/lib directory.
The examples on this page use PostgreSQL.
Creating the response file
The install.properties response file controls the unattended installation, see Unattended installation.
It only installs the Process Engine with Tomcat and the Java runtime:
USER_INSTALL_DIR=/opt/inubit
CHOSEN_FEATURE_LIST=IBIS,Tomcat,TomcatPE
CHOSEN_INSTALL_FEATURE_LIST=IBIS,Tomcat,TomcatPE,JRE
CHOSEN_INSTALL_SET=Benutzerdefiniert
USER_INPUT_LICENSE_FILE=
Keep /opt/inubit, because the Dockerfile, start script, and Compose file use this path.
If the installer doesn’t accept the file, create your own response file with the -r option, see Prerequisites of the automatic installation.
Creating the start script
The docker-entrypoint.sh start script prepares the configuration at every start and starts Tomcat in the foreground:
docker-entrypoint.sh
#!/usr/bin/env bash
set -euo pipefail
SERVER_DIR=/opt/inubit/inubit/server
TEMPLATE_DIR=/opt/inubit/templates
CONFIG_DIR=/opt/inubit/config
random_secret() {
head -c 32 /dev/urandom | base64 | tr -dc 'A-Za-z0-9'
}
# Secrets generated by the installer: random value if not set.
: "${INUBIT_TOMCAT_PASSWORD:=$(random_secret)}"
: "${INUBIT_AJP_SECRET:=$(random_secret)}"
export INUBIT_TOMCAT_PASSWORD INUBIT_AJP_SECRET
# All environment variables with the prefix INUBIT_ are placeholders.
NAMES=$(compgen -e INUBIT_ || true)
VARIABLES=$(printf '${%s} ' ${NAMES})
# The values are inserted unescaped into XML files.
for var in ${NAMES}; do
case "${!var}" in
*[\"\&\<]*)
echo "ERROR: ${var} must not contain \", & or <" >&2
exit 1
;;
esac
done
# Copies all files from $1 to $2 and replaces the placeholders.
render() {
local source=$1 target=$2 src dst missing
[ -d "${source}" ] || return 0
while IFS= read -r -d '' src; do
dst="${target}/${src#"${source}"/}"
mkdir -p "$(dirname "${dst}")"
if [[ "${src}" == */license.xml ]]; then
cp "${src}" "${dst}"
else
envsubst "${VARIABLES}" < "${src}" > "${dst}"
missing=$(grep -o '\${INUBIT_[A-Za-z0-9_]*}' "${dst}" | sort -u | tr '\n' ' ' || true)
if [ -n "${missing}" ]; then
echo "ERROR: ${dst} contains unset variables: ${missing}" >&2
exit 1
fi
fi
echo "Installed ${dst}"
done < <(find -L "${source}" -type f -print0)
}
render "${TEMPLATE_DIR}" "${SERVER_DIR}"
render "${CONFIG_DIR}" "${SERVER_DIR}/ibis_root/conf"
# Forward log files to stdout, paths relative to the server directory.
LOG_FILES=${INUBIT_LOG_FILES-ibis_root/log/trace.log process_engine/logs/catalina0.log}
if [ -n "${LOG_FILES}" ]; then
(cd "${SERVER_DIR}" && exec tail -n 0 -q -F ${LOG_FILES} 2>/dev/null) &
fi
exec "${CATALINA_HOME}/bin/catalina.sh" run
The script first copies the templates from /opt/inubit/templates into the installation and then the files from /opt/inubit/config into the <SUITE-INSTALL-DIR>/inubit/server/ibis_root/conf directory.
In doing so, it replaces the placeholders in all files except the license.
The start aborts if a placeholder has no value or a value contains the characters ", &, or <.
Placeholders and environment variables
The start script replaces each $\{INUBIT_<NAME>} placeholder with the environment variable of the same name.
Other expressions such as $\{rep.home} stay unchanged.
You can use your own placeholders in all files in the config directory, for example ${INUBIT_KEYCLOAK_SECRET} in the keycloak.json file.
The examples use the following placeholders:
${INUBIT_DB_PASSWORD}-
Password of the database user in the
ibis.xmlandlogsDBConfig.xmlfiles. ${INUBIT_ROOT_PASSWORD}-
Initial password of the
rootuser in theinitialRootUserPasswordproperty of theibis.xmlfile. This variable is required because theibis.xmltemplate always contains the placeholder. ${INUBIT_TOMCAT_PASSWORD}-
Password of the users in the
<SUITE-INSTALL-DIR>/inubit/server/process_engine/conf/tomcat-users.xmlfile, for example for the Axis2 pages. Without a value, the start script generates a random password at every start. ${INUBIT_AJP_SECRET}-
Secret of the AJP connector in the
<SUITE-INSTALL-DIR>/inubit/server/process_engine/conf/server.xmlfile. Without a value, the start script generates a random secret at every start.
Creating the Dockerfile
The Dockerfile builds the image in two stages with the bundled, already hardened Tomcat and the bundled Java runtime.
The instructions that are specific to INUBIT are commented in the file.
Dockerfile
# syntax=docker/dockerfile:1
ARG BASE_IMAGE=debian:12-slim
# Stage 1: unattended INUBIT installation.
# Only /opt/inubit is copied to the runtime image, so neither the installer
# nor the secrets generated by the installer end up in the image.
FROM ${BASE_IMAGE} AS install
ARG INUBIT_VERSION
ARG INUBIT_UID=10001
ARG INUBIT_GID=10001
# The installer is only mounted for this step and never stored in a layer.
COPY install.properties /tmp/install.properties
RUN --mount=type=bind,source=setupLinuxX64-${INUBIT_VERSION}.bin,target=/tmp/setup.bin \
bash /tmp/setup.bin -f /tmp/install.properties -i silent && \
test -x /opt/inubit/inubit/apache-tomcat/bin/catalina.sh
# Replace the secrets generated by the installer with placeholders and store
# the files as templates that the start script renders at every start.
# The grep checks fail the build if a new INUBIT version changes the files.
RUN PE_CONF=/opt/inubit/inubit/server/process_engine/conf && \
IBIS_CONF=/opt/inubit/inubit/server/ibis_root/conf && \
TEMPLATES=/opt/inubit/templates && \
sed -i -E 's/(password=")[^"]*"/\1${INUBIT_TOMCAT_PASSWORD}"/g' "${PE_CONF}/tomcat-users.xml" && \
sed -i -E 's/(secret=")[^"]*"/\1${INUBIT_AJP_SECRET}"/g' "${PE_CONF}/server.xml" && \
sed -i -E 's#(<Property name="initialRootUserPassword"[^>]*>)[^<]*#\1${INUBIT_ROOT_PASSWORD}#' "${IBIS_CONF}"/ibis.xml* && \
grep -q 'INUBIT_TOMCAT_PASSWORD' "${PE_CONF}/tomcat-users.xml" && \
grep -q 'INUBIT_ROOT_PASSWORD' "${IBIS_CONF}/ibis.xml" && \
mkdir -p "${TEMPLATES}/process_engine/conf" "${TEMPLATES}/ibis_root/conf" && \
cp "${PE_CONF}/tomcat-users.xml" "${PE_CONF}/server.xml" "${TEMPLATES}/process_engine/conf/" && \
cp "${IBIS_CONF}/ibis.xml" "${TEMPLATES}/ibis_root/conf/"
# Make the Java heap (INUBIT_JAVA_XMS, INUBIT_JAVA_XMX) and further JVM
# parameters (INUBIT_JAVA_OPTS) configurable via environment variables.
# The Process Engine writes to its installation directories, so the
# installation belongs to the runtime user, except for the Java runtime.
WORKDIR /opt/inubit
RUN rm -rf _uninstall ./*.log && \
sed -i -E \
-e 's/-Xms([0-9]+[kKmMgG])/-Xms${INUBIT_JAVA_XMS:-\1}/' \
-e 's/-Xmx([0-9]+[kKmMgG])/-Xmx${INUBIT_JAVA_XMX:-\1}/' \
inubit/server/process_engine/bin/setenv.sh && \
grep -q 'INUBIT_JAVA_XMX' inubit/server/process_engine/bin/setenv.sh && \
printf '\nCATALINA_OPTS="${CATALINA_OPTS:-} ${INUBIT_JAVA_OPTS:-}"\n' \
>> inubit/server/process_engine/bin/setenv.sh && \
chown -R ${INUBIT_UID}:${INUBIT_GID} /opt/inubit && \
chown -R root:root /opt/inubit/_jvm
# Stage 2: runtime image with the bundled, hardened Tomcat and Java runtime.
FROM ${BASE_IMAGE}
ARG INUBIT_UID=10001
ARG INUBIT_GID=10001
ENV CATALINA_HOME=/opt/inubit/inubit/apache-tomcat \
CATALINA_BASE=/opt/inubit/inubit/server/process_engine
# curl: health check, fontconfig: fonts for the JVM, gettext-base: envsubst
RUN apt-get update && \
apt-get install -y --no-install-recommends curl fontconfig gettext-base && \
rm -rf /var/lib/apt/lists/* && \
groupadd --gid ${INUBIT_GID} inubit && \
useradd --uid ${INUBIT_UID} --gid ${INUBIT_GID} --no-create-home --no-log-init inubit
COPY --from=install /opt/inubit /opt/inubit
COPY --chown=${INUBIT_UID}:${INUBIT_GID} jdbc/ /opt/inubit/inubit/server/process_engine/lib/
COPY --chmod=755 docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
USER inubit
WORKDIR /opt/inubit/inubit
EXPOSE 8000
# Succeeds as soon as Tomcat and the Process Engine are started,
# also in maintenance mode.
HEALTHCHECK --start-period=120s --interval=30s --timeout=10s --retries=5 \
CMD curl -fs http://localhost:8000/ibis/rest/healthcheck || exit 1
ENTRYPOINT ["docker-entrypoint.sh"]
The .dockerignore file excludes operation files that are accidentally stored in the build directory:
.env
config
db-init
backup
Running the build
The INUBIT version determines the name of the installation file and serves as the tag of the image:
docker build \
--build-arg INUBIT_VERSION=<INUBIT-version> \
--tag inubit-process-engine:<INUBIT-version> \
.
Then push the image to your registry. Because the image contains the INUBIT software, only use a private registry.
Using a different base image
With --build-arg BASE_IMAGE=<base-image>, you use a different base image based on Debian or Ubuntu.
If you want to use Tomcat or Java from the base image, adjust the Dockerfile and start scripts yourself:
-
Use versions from the System requirements. The Java major version must match
JAVA_MAJOR_VERSION_REQUIREDin the<SUITE-INSTALL-DIR>/inubit/java_home_path_setter.shfile. -
Set
CATALINA_HOMEto the Tomcat of the image andCATALINA_BASEto/opt/inubit/inubit/server/process_engine. -
Adjust
CATALINA_HOMEin the<SUITE-INSTALL-DIR>/inubit/inubit_setenv.shfile andJAVA_HOMEin the<SUITE-INSTALL-DIR>/inubit/java_home_path_setter.shfile. -
Create symbolic links to
tomcat-juli.jarin<SUITE-INSTALL-DIR>/inubit/apache-tomcat/binand tocatalina.jarin<SUITE-INSTALL-DIR>/inubit/apache-tomcat/lib. -
Harden Tomcat like the bundled Tomcat, see Security measures for Tomcat.
-
Update Tomcat and Java through the base image, because the INUBIT installer only updates the bundled versions.
Operation
For operation, you only need the image and an operation directory:
inubit/
├── .env
├── compose.yaml
├── config/
│ ├── ibis.xml
│ ├── license.xml
│ ├── logsDBConfig.xml
│ └── repository.xml
└── db-init/
└── create-databases.sh
Store the license as config/license.xml.
The Process Engine imports it at startup, see Applying the license.
Connecting the database
The Process Engine needs a cache database and a logging database, see Configuring Databases.
The examples use PostgreSQL in the inubit-db container with the inubit_data and inubit_logs databases.
The sample files from the image serve as templates:
mkdir -p config
for file in ibis.xml.PostgreSQL logsDBConfig.xml.PostgreSQL repository.xml.PostgreSQL.SINGLE; do
docker run --rm --entrypoint cat inubit-process-engine:<INUBIT-version> \
"/opt/inubit/inubit/server/ibis_root/conf/${file}" > "config/${file%%.PostgreSQL*}"
done
In the config/ibis.xml file, adjust the connection and the initial password of the root user:
<Property name="jdbcUrl">jdbc:postgresql://inubit-db:5432/inubit_data</Property>
<Property name="user">inubit</Property>
<Property name="password" type="Password" encrypted="false">${INUBIT_DB_PASSWORD}</Property>
<Property name="initialRootUserPassword">${INUBIT_ROOT_PASSWORD}</Property>
In the config/logsDBConfig.xml file, adjust the connection:
<url>jdbc:postgresql://inubit-db:5432/inubit_logs</url>
<user>inubit</user>
<password encrypted="false">${INUBIT_DB_PASSWORD}</password>
You keep the config/repository.xml file unchanged.
The PostgreSQL container only creates one database at the first start.
The db-init/create-databases.sh script creates both databases:
#!/usr/bin/env bash
set -euo pipefail
for database in inubit_data inubit_logs; do
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname postgres \
-c "CREATE DATABASE ${database} OWNER ${POSTGRES_USER};"
done
For MariaDB and MySQL, use an SQL file with corresponding CREATE DATABASE statements instead.
Starting the containers
The .env file contains the values per system, including the passwords:
INUBIT_VERSION=<INUBIT-version>
INUBIT_MAC_ADDRESS=02:42:ac:11:00:02
INUBIT_HTTP_PORT=8000
INUBIT_JAVA_XMX=4g
INUBIT_MEMORY_LIMIT=6g
INUBIT_ROOT_PASSWORD=<initial-root-password>
DB_PASSWORD=<database-password>
INUBIT_MAC_ADDRESS is the MAC address from your license, see License binding in the container.
Use a locally administered address that starts with 02:.
INUBIT_ROOT_PASSWORD only takes effect at the first start with an empty database.
Change the password after the first login, see Starting the INUBIT Workbench and Logging In.
The compose.yaml file describes the Process Engine and the database.
The entries that are specific to INUBIT are commented in the file, and you choose the database version from the System requirements.
compose.yaml
services:
inubit:
image: "inubit-process-engine:${INUBIT_VERSION}"
# Fixed MAC address that the license is bound to
mac_address: "${INUBIT_MAC_ADDRESS}"
ports:
- "${INUBIT_HTTP_PORT}:8000"
# All INUBIT_* variables are available as placeholders in the config directory
environment:
INUBIT_DB_PASSWORD: "${DB_PASSWORD}"
INUBIT_ROOT_PASSWORD: "${INUBIT_ROOT_PASSWORD}"
INUBIT_JAVA_XMX: "${INUBIT_JAVA_XMX}"
INUBIT_JAVA_OPTS: "${INUBIT_JAVA_OPTS:-}"
volumes:
# Mounted as a whole directory, not into ibis_root/conf,
# because the Process Engine writes to ibis_root/conf at startup
- "./config:/opt/inubit/config:ro"
- "inubit-ibis-root:/opt/inubit/inubit/server/ibis_root"
- "inubit-logs:/opt/inubit/inubit/server/process_engine/logs"
deploy:
resources:
limits:
# Larger than the Java heap, the JVM needs memory outside the heap
memory: "${INUBIT_MEMORY_LIMIT}"
depends_on:
inubit-db:
condition: service_healthy
# Time for the Process Engine to shut down properly
stop_grace_period: 60s
restart: unless-stopped
inubit-db:
# Use a database version listed in the system requirements
image: "postgres:15"
environment:
POSTGRES_USER: "inubit"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
volumes:
- "inubit-db-data:/var/lib/postgresql/data"
# Creates the databases inubit_data and inubit_logs at the first start
- "./db-init:/docker-entrypoint-initdb.d:ro"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U inubit"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
restart: unless-stopped
volumes:
inubit-ibis-root:
inubit-logs:
inubit-db-data:
Start the containers with docker compose up --detach.
As soon as the inubit container has the healthy status, the Process Engine is reachable at https://<hostname>:<port>/ibis.
Volumes and configuration directory
The Process Engine writes to the following volumes:
inubit-ibis-root-
<SUITE-INSTALL-DIR>/inubit/server/ibis_rootdirectory with configuration, runtime data, and thetrace.loglog file. inubit-logs-
Tomcat log files from the
<SUITE-INSTALL-DIR>/inubit/server/process_engine/logsdirectory.
Docker only populates the volumes from the image at the first start.
Therefore, files that a new image brings in the <SUITE-INSTALL-DIR>/inubit/server/ibis_root directory don’t reach an existing volume.
Don’t mount the config directory directly to <SUITE-INSTALL-DIR>/inubit/server/ibis_root/conf.
The Process Engine writes to this directory at startup, for example it renames the license and stores libraries in conf/deploy.
With mounted files, this fails with Device or resource busy.
The start script overwrites the files that exist in the config directory at every start.
Therefore, only change these files in the config directory.
Store further files such as keycloak.json or files in the clustermanager subdirectory with their relative path in the config directory.
Log output
By default, the Process Engine only writes to the trace.log log file.
The start script also writes new entries of trace.log and catalina0.log to the standard output, so that docker compose logs and log collectors capture them.
With INUBIT_LOG_FILES, you define other files relative to the <SUITE-INSTALL-DIR>/inubit/server directory, for example ibis_root/log/trace.log ibis_root/log/audit.log.
An empty value deactivates the output.
If Tomcat writes to the standard output itself, remove catalina0.log from the list to avoid duplicate messages.
Defining the memory
You change the memory and JVM parameters via environment variables without rebuilding the image:
INUBIT_JAVA_XMXandINUBIT_JAVA_XMS-
Maximum and minimum Java heap, for example
4g. Without a value, the values of the installer apply. For information about the size, see Optimizing the Process Engine JVM. INUBIT_MEMORY_LIMIT-
Memory limit of the container. Choose a value larger than the Java heap, because the JVM needs additional memory outside the heap.
INUBIT_JAVA_OPTS-
Further JVM parameters, for example
-XX:MaxMetaspaceSize=1g. They follow the parameters from thesetenv.shfile and therefore take precedence.
Checking the Process Engine status
The Process Engine provides two endpoints for health checks:
https://<hostname>:<port>/ibis/rest/healthcheck-
Successful as soon as Tomcat and the Process Engine have started, also in maintenance mode. The Dockerfile uses this endpoint for the
HEALTHCHECK. See Check application health. https://<hostname>:<port>/ibis/rest/ready-
Responds with the HTTP status
503in maintenance mode. Use this endpoint for load balancers and readiness checks. See Get readiness status.
Connecting Keycloak
You configure the ibis.xml and keycloak.json files as with a regular installation, see Using Keycloak as external identity provider.
The Process Engine and the clients must reach Keycloak under the same auth-server-url.
A container name such as keycloak isn’t suitable for this, because clients outside the Docker network can’t resolve it.
Enabling HTTPS
For HTTPS, you mount your own template of the server.xml file and the keystore.
The start script generates the server.xml file from it at every start, so that you don’t need to rebuild the image.
-
Copy the template from the image:
mkdir -p tomcat/https docker run --rm --entrypoint cat inubit-process-engine:<INUBIT-version> \ /opt/inubit/templates/process_engine/conf/server.xml > tomcat/server.xml -
Store the keystore in the
tomcat/httpsdirectory and set up a TLS connector on port8443in thetomcat/server.xmlfile, see Configuring INUBIT Process Engine using NIO implementation. Use the path/opt/inubit/inubit/server/process_engine/conf/https/keystore.p12and the${INUBIT_KEYSTORE_PASSWORD}placeholder for the password. -
Extend the
inubitservice in the Compose file:ports: - "8443:8443" environment: INUBIT_KEYSTORE_PASSWORD: "${INUBIT_KEYSTORE_PASSWORD}" volumes: - "./tomcat/server.xml:/opt/inubit/templates/process_engine/conf/server.xml:ro" - "./tomcat/https:/opt/inubit/inubit/server/process_engine/conf/https:ro" -
Recreate the container with
docker compose up --detach inubit.
The Process Engine is reachable at https://<hostname>:8443/ibis.
With every new INUBIT version, compare your tomcat/server.xml file with the template from the new image.
Maintenance
You only change program files through a new image, and configuration and values through the operation directory.
Updating to a new INUBIT version
Instead of the patch installer, you build an image with the installer of the new version. Because the image contains all program files in the state of the new version, most additional patch steps are no longer necessary. Only steps for data outside the image remain necessary:
-
Files in the
configdirectory. -
Files in the
inubit-ibis-rootvolume that don’t come from theconfigdirectory. -
Changes to the databases and steps with a running Process Engine.
Also check your own customizations in the Dockerfile, for example to the setenv.sh file, against the new version.
-
Build the image with the new INUBIT version and push it to your registry, see Running the build.
-
Perform the preparations from Running the patch installer, for example activating the maintenance mode.
-
Stop the Process Engine and back up the
inubit-ibis-rootvolume:docker compose stop inubit mkdir -p backup docker compose run --rm --no-deps -T --entrypoint tar inubit \ -czf - -C /opt/inubit/inubit/server ibis_root > backup/ibis_root-$(date +%F).tar.gz -
Back up the databases, see Creating a backup.
-
Perform the patch steps that are required while INUBIT is shut down.
-
Set
INUBIT_VERSIONin the.envfile to the new version and start withdocker compose up --detach inubit. -
Perform the patch steps while INUBIT is running and deactivate the maintenance mode.
The Process Engine runs in the new version.
For a rollback, stop the Process Engine, restore the volume and databases, and set INUBIT_VERSION to the previous version.
You restore the volume with the following command:
docker compose run --rm --no-deps -T --entrypoint bash inubit \
-c 'rm -rf /opt/inubit/inubit/server/ibis_root/* && tar -xzf - -C /opt/inubit/inubit/server' \
< backup/ibis_root-<date>.tar.gz
Updating the base image
Security updates of the base image and the operating system packages only reach your image through a new build.
Therefore, rebuild the image regularly with docker build --pull and replace the container.
Customizing the installation
You change the license, configuration files, passwords, memory, and HTTPS in the operation directory.
Afterward, docker compose up --detach --force-recreate inubit is sufficient.
You make all other changes to the installation, for example additional libraries, in the Dockerfile and rebuild the image. Don’t change files in the running container, because these changes are lost when the container is recreated. For information about the Tomcat configuration, see Configuring Tomcat.
Analyzing startup errors
The start script, the Process Engine, and Tomcat write their messages to the standard output, see Log output:
docker compose logs --follow inubit
Missing or invalid licenses, mismatching MAC addresses or IP addresses, and database errors are logged in the trace.log log file.
Errors when loading the web application or regarding the Java version are logged in the catalina0.log log file.
The standard output only contains messages since the container start. You display the full content of a log file even when the container is stopped:
docker compose run --rm --no-deps --entrypoint tail inubit \
-n 200 /opt/inubit/inubit/server/ibis_root/log/trace.log