You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Dconvertigo.engine.billing.persistence.jdbc.username=[username for the c8oAnalytics db] \
@@ -117,7 +117,7 @@ If the database runs in another container, connect both containers to the same u
117
117
Projects are deployed in the Convertigo workspace, a simple file system directory. You can map the docker container **/workspace** to your physical system by using:
118
118
119
119
```console
120
-
docker run --name C8O -v $(pwd):/workspace -d -p 28080:28080 %%IMAGE%%
You can share the same workspace by all Convertigo containers. In this case, when you deploy a project on a Convertigo container, it will be seen by others. This is the best way to build multi-instance load balanced Convertigo server farms.
@@ -156,15 +156,15 @@ For Kubernetes and Helm deployments, prefer pod-local paths such as `/tmp/conver
156
156
Recommended multi-instance example:
157
157
158
158
```console
159
-
docker run --name C8O1 -v /my-shared-workspace:/workspace -d -p 28081:28080 \
At each container start, the image copies the contents of these workspace directories into the Convertigo web application before Tomcat starts:
177
177
178
-
-`/workspace/lib/` to `WEB-INF/lib/` for JAR files and their dependencies
179
-
-`/workspace/classes/` to `WEB-INF/classes/` for compiled classes and resources
178
+
-`/workspace/lib/` to `WEB-INF/lib/` for JAR files and their dependencies
179
+
-`/workspace/classes/` to `WEB-INF/classes/` for compiled classes and resources
180
180
181
181
The directory structure is preserved and overlays the files provided by the image; it does not remove existing web-application files. For classes, keep the package directory structure below `/workspace/classes/` (for example, `com/example/MyClass.class`). Restart or recreate the container after adding or updating these files. To remove an injected file, remove it from the workspace and recreate the container, since a restart does not delete files already copied into the web application.
182
182
183
183
For example, prepare a workspace and mount it into the container:
This is also useful when iterating on a custom Java extension without building a derived Convertigo image. Ensure that the mounted workspace is writable by the container at startup.
@@ -198,17 +198,19 @@ To trust private root or intermediate certificate authorities, mount a dedicated
198
198
For example:
199
199
200
200
```console
201
-
mkdir -p custom-ca
202
-
cp company-root-ca.pem custom-ca/
203
-
cp partner-intermediate-ca.crt custom-ca/
204
-
docker run --name C8O \
201
+
$ mkdir -p custom-ca
202
+
$ cp company-root-ca.pem custom-ca/
203
+
$ cp partner-intermediate-ca.crt custom-ca/
204
+
$ docker run --name C8O \
205
205
-v "$(pwd)/workspace:/workspace" \
206
206
-v "$(pwd)/custom-ca:/cacerts:ro" \
207
207
-d -p 28080:28080 convertigo
208
208
```
209
209
210
210
Keep this directory outside the Convertigo workspace and mount it read-only. In Kubernetes, mount a ConfigMap or Secret read-only at `/cacerts`. The image only reads custom CAs from this dedicated mount; files in `/workspace` are not considered.
211
211
212
+
`/cacerts` is a convenience to add private or corporate certificate authorities to the standard JDK trust anchors, typically behind a corporate proxy performing TLS inspection, without modifying the JDK installation (the container may run as an arbitrary non-root user). Users who need full control can still provide their own complete JVM truststore through the standard Java configuration, for example `-e JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/truststore -Djavax.net.ssl.trustStorePassword=..."`: when `javax.net.ssl.trustStore` is already set in `JAVA_OPTS`, the image keeps that configuration unchanged and ignores `/cacerts` (an informational message is logged at startup).
213
+
212
214
The standard JDK certificate authorities are retained. The generated truststore is not persisted: restart or recreate the container after adding, replacing, or removing a certificate. If a file cannot be imported, the image logs a warning and continues to start with the certificates successfully imported so far.
213
215
214
216
This configuration is independent from the Tomcat HTTPS server certificate configured through `/ssl`.
@@ -249,7 +251,7 @@ These accounts can be configured through the **administration console** and save
249
251
You can change the default administration account :
These variables are startup conveniences. If `/workspace/configuration/engine.properties` already defines `admin.username` or `admin.password`, the matching environment variable is ignored to preserve the persisted configuration.
@@ -259,7 +261,7 @@ These variables are startup conveniences. If `/workspace/configuration/engine.pr
259
261
You can allow anonymous access to `/convertigo/dashboard/` by setting:
260
262
261
263
```console
262
-
docker run -d --name C8O -e CONVERTIGO_ANONYMOUS_DASHBOARD=true -p 28080:28080 %%IMAGE%%
Values must match the full browser `Origin` header, including scheme and optional port. Multiple origins are separated with `#`. If `/workspace/configuration/engine.properties` already defines `cors.policy`, `PUBLIC_DOMAINS` is ignored. Use `JAVA_OPTS=-Dconvertigo.engine.cors.policy=...` only when you need an explicit JVM-level override.
@@ -289,13 +291,13 @@ If you have an existing certificate and a private key, you can put them in **PEM
289
291
-`chain.pem` : the optional chain of certificates not included in `cert.pem` using the PEM format
[Here the list of convertigo specific properties](https://www.convertigo.com/documentation/latest/operating-guide/appendixes/#list-of-convertigo-java-system-properties) (don't forget the `-Dconvertigo.engine.` prefix).
@@ -348,7 +350,7 @@ Convertigo generates many logs in a **engine.log** file that can be consulted vi
348
350
Log file still exists until you add the `LOG_FILE=false` environment variable :
0 commit comments