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
Copy file name to clipboardExpand all lines: bonita/content.md
+48-22Lines changed: 48 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Bonita (called Bonita BPM till 7.5) is an open-source business process managemen
14
14
$ docker run --name bonita -d -p 8080:8080 %%IMAGE%%
15
15
```
16
16
17
-
This will start a container running the [Tomcat Bundle](https://documentation.bonitasoft.com/bonita/7.8/tomcat-bundle) with Bonita Engine + Bonita Portal. With no environment variables specified, it's as like if you have launched the bundle on your host using startup.{sh|bat} (with security hardening on REST and HTTP APIs, cf Security part). Bonita uses a H2 database here.
17
+
This will start a container running the [Tomcat Bundle](https://documentation.bonitasoft.com/bonita/7.9/tomcat-bundle) with Bonita Engine + Bonita Portal. With no environment variables specified, it's as like if you have launched the bundle on your host using startup.{sh|bat} (with security hardening on REST and HTTP APIs, cf Security part). Bonita uses a H2 database here.
18
18
19
19
You can access the Bonita Portal on http://localhost:8080/bonita and login using the default credentials: install / install
20
20
@@ -24,7 +24,7 @@ You can access the Bonita Portal on http://localhost:8080/bonita and login using
24
24
25
25
PostgreSQL is the recommanded database.
26
26
27
-
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.8/database-configuration#toc5):
27
+
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.9/database-configuration#toc5):
There are known issues with the management of XA transactions by MySQL engine and driver: see MySQL bugs [17343](http://bugs.mysql.com/bug.php?id=17343) and [12161](http://bugs.mysql.com/bug.php?id=12161) for more details. Thus, using MySQL database in a production environment is not recommended.
51
51
52
-
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.8/database-configuration#toc5) which is set by default to 1M:
52
+
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.9/database-configuration#toc5) which is set by default to 1M:
Most of the data are stored in a database and can be stored outside the Bonita container as described above using the PostgreSQL or MySQL container. However, some data remains inside the Bonita bundle. Bonita Home is a folder, called `bonita`, which contains configuration, working, and temporary folders and files. There are also log files inside the `logs` folder.
88
+
Most of the data are stored in a database and can be stored outside the Bonita container as described above using the PostgreSQL or MySQL container. However, some data remains inside the Bonita bundle. Bonita Home is a folder, called `bonita`, which contains configuration, working, and temporary folders and files. There are also log files inside the `logs` folder till Bonita 7.8.
89
89
90
90
Important note: There are several ways to store data used by applications that run in Docker containers. We encourage users of the `%%REPO%%` images to familiarize themselves with the options available, including:
91
91
@@ -167,9 +167,9 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
235
235
236
236
```console
237
-
$ docker exec -ti bonita_7.8.4_postgres /bin/bash
237
+
$ docker exec -ti bonita_7.9.0_postgres /bin/bash
238
238
```
239
239
240
240
```console
241
-
$ cd /opt/bonita/BonitaCommunity-7.8.4-Tomcat-8.5.34/setup
241
+
$ cd /opt/bonita/BonitaCommunity-7.9.0-tomcat/setup
242
242
$ ./setup.sh pull
243
243
$ TENANT_LOGIN=tech_user
244
244
$ TENANT_PASSWORD=secret
@@ -258,22 +258,26 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
258
258
```
259
259
260
260
```console
261
-
$ docker restart bonita_7.8.4_postgres
261
+
$ docker restart bonita_7.9.0_postgres
262
262
```
263
263
264
-
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.8/migrate-from-an-earlier-version-of-bonita-bpm).
264
+
- Specific consideration regarding migration to Java 11 in Bonita 7.9
265
+
266
+
Bonita 7.9 docker image runs with Java 11. If you are migrating from an earlier version which runs Java 8, you should validate on a test environment that your custom code is compatible. Aside from just code incompatibility, special attention has to be given to the dependencies of the custom code, as they might not work in Java 11.
267
+
268
+
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.9/migrate-from-an-earlier-version-of-bonita-bpm).
265
269
266
270
## Security
267
271
268
272
This Docker image activates both static and dynamic authorization checks by default on REST API. To be consistent, it also deactivates the HTTP API.
For specific needs you can override this behavior by setting HTTP_API to true and REST_API_DYN_AUTH_CHECKS to false:
279
283
@@ -287,23 +291,23 @@ When you start the `bonita` image, you can adjust the configuration of the Bonit
287
291
288
292
### `PLATFORM_PASSWORD`
289
293
290
-
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.8/tomcat-bundle#toc3) for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
294
+
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.9/tomcat-bundle#toc3) for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
291
295
292
296
### `PLATFORM_LOGIN`
293
297
294
298
This optional environment variable is used in conjunction with `PLATFORM_PASSWORD` to define the username for the platform administrator. If it is not specified, the default user `platformAdmin` will be used.
295
299
296
300
### `TENANT_PASSWORD`
297
301
298
-
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.8/tomcat-bundle#toc3) for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
302
+
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.9/tomcat-bundle#toc3) for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
299
303
300
304
### `TENANT_LOGIN`
301
305
302
306
This optional environment variable is used in conjunction with `TENANT_PASSWORD` to define the username for the tenant administrator. If it is not specified, the default user of `install` will be used.
303
307
304
308
### `REST_API_DYN_AUTH_CHECKS`
305
309
306
-
This optional environment variable is used to enable/disable [dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.8/rest-api-authorization#toc2) on Bonita REST API. The default value is `true`, which will activate dynamic authorization checking.
310
+
This optional environment variable is used to enable/disable [dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.9/rest-api-authorization#toc2) on Bonita REST API. The default value is `true`, which will activate dynamic authorization checking.
307
311
308
312
### `HTTP_API`
309
313
@@ -337,7 +341,7 @@ These variables are used in conjunction to create a new user, set that user's pa
337
341
338
342
### `BIZ_DB_NAME`, `BIZ_DB_USER`, `BIZ_DB_PASS`
339
343
340
-
These variables are used in conjunction to create a new user, set that user's password and create the `bonita`[business database](https://documentation.bonitasoft.com/bonita/7.8/define-and-deploy-the-bdm#toc1).
344
+
These variables are used in conjunction to create a new user, set that user's password and create the `bonita`[business database](https://documentation.bonitasoft.com/bonita/7.9/define-and-deploy-the-bdm#toc1).
341
345
342
346
`BIZ_DB_NAME` default value is `businessdb`.
343
347
@@ -361,6 +365,14 @@ These variables are optional, and used in conjunction to create users and databa
Since Bonita 7.9 `BONITA_SERVER_LOGGING_FILE` and `BONITA_SETUP_LOGGING_FILE` can be used to update logging configuration.
371
+
372
+
`BONITA_SERVER_LOGGING_FILE` default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}-tomcat/server/conf/logging.properties`.
373
+
374
+
`BONITA_SETUP_LOGGING_FILE` default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}-tomcat/setup/logback.xml`.
375
+
364
376
# How to extend this image
365
377
366
378
If you would like to do additional initialization, you can add a `*.sh` script under `/opt/custom-init.d`. The `startup.sh` file will source any `*.sh` script found in this directory to do further initialization before starting the service.
0 commit comments