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/README.md
+30-30
Original file line number
Diff line number
Diff line change
@@ -60,17 +60,17 @@ Bonita (called Bonita BPM till 7.5) is an open-source business process managemen
60
60
$ docker run --name bonita -d -p 8080:8080 bonita
61
61
```
62
62
63
-
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.
63
+
This will start a container running [Bonita runtime](https://documentation.bonitasoft.com/bonita/7.10/tomcat-bundle): a 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.
64
64
65
65
You can access the Bonita Portal on http://localhost:8080/bonita and login using the default credentials: install / install
66
66
67
67
## Link Bonita to a database
68
68
69
69
### PostgreSQL
70
70
71
-
PostgreSQL is the recommanded database.
71
+
PostgreSQL is the recommended database.
72
72
73
-
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.9/database-configuration#toc5):
73
+
[Set max_prepared_transactions to 100](https://documentation.bonitasoft.com/bonita/7.10/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.
97
97
98
-
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.9/database-configuration#toc5) which is set by default to 1M:
98
+
[Increase the packet size](https://documentation.bonitasoft.com/bonita/7.10/database-configuration#toc5) which is set by default to 1M:
Now you can access the Bonita Portal on localhost:8080/bonita and login using: tech_user / secret
126
+
Now you can access the Bonita Portal on localhost:8080/bonita and login using: `tech_user` / `secret`
127
127
128
128
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
129
129
@@ -204,7 +204,7 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
204
204
- Stop the container to perform a backup
205
205
206
206
```console
207
-
$ docker stop bonita_7.2.3_postgres
207
+
$ docker stop bonita_7.9.4_postgres
208
208
```
209
209
210
210
- For containers < 7.3.0 :
@@ -265,9 +265,9 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
$ cd /opt/bonita/BonitaCommunity-7.9.4-tomcat/setup
339
+
$ cd /opt/bonita/BonitaCommunity-7.10.0/setup
340
340
$ ./setup.sh pull
341
341
$ TENANT_LOGIN=tech_user
342
342
$ TENANT_PASSWORD=secret
@@ -356,26 +356,26 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
356
356
```
357
357
358
358
```console
359
-
$ docker restart bonita_7.9.4_postgres
359
+
$ docker restart bonita_7.10.0_postgres
360
360
```
361
361
362
362
- Specific consideration regarding migration to Java 11 in Bonita 7.9
363
363
364
364
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.
365
365
366
-
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.9/migrate-from-an-earlier-version-of-bonita-bpm).
366
+
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.10/migrate-from-an-earlier-version-of-bonita-bpm).
367
367
368
368
## Security
369
369
370
370
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:
381
381
@@ -389,23 +389,23 @@ When you start the `bonita` image, you can adjust the configuration of the Bonit
389
389
390
390
### `PLATFORM_PASSWORD`
391
391
392
-
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.
392
+
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.10/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.
393
393
394
394
### `PLATFORM_LOGIN`
395
395
396
396
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.
397
397
398
398
### `TENANT_PASSWORD`
399
399
400
-
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.
400
+
This environment variable [is recommended](https://documentation.bonitasoft.com/bonita/7.10/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.
401
401
402
402
### `TENANT_LOGIN`
403
403
404
404
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.
405
405
406
-
###`REST_API_DYN_AUTH_CHECKS`
406
+
###`REST_API_DYN_AUTH_CHECKS`
407
407
408
-
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.
408
+
This optional environment variable is used to enable/disable [dynamic authorization checking](https://documentation.bonitasoft.com/bonita/7.10/rest-api-authorization#toc2) on Bonita REST API. The default value is `true`, which will activate dynamic authorization checking.
409
409
410
410
### `HTTP_API`
411
411
@@ -439,7 +439,7 @@ These variables are used in conjunction to create a new user, set that user's pa
439
439
440
440
### `BIZ_DB_NAME`, `BIZ_DB_USER`, `BIZ_DB_PASS`
441
441
442
-
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).
442
+
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.10/define-and-deploy-the-bdm#toc1).
443
443
444
444
`BIZ_DB_NAME`default value is `businessdb`.
445
445
@@ -467,9 +467,9 @@ These variables are optional, and used in conjunction to create users and databa
467
467
468
468
Since Bonita 7.9 `BONITA_SERVER_LOGGING_FILE` and `BONITA_SETUP_LOGGING_FILE` can be used to update logging configuration.
469
469
470
-
`BONITA_SERVER_LOGGING_FILE`default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}-tomcat/server/conf/logging.properties`.
470
+
`BONITA_SERVER_LOGGING_FILE`default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}/server/conf/logging.properties`.
471
471
472
-
`BONITA_SETUP_LOGGING_FILE`default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}-tomcat/setup/logback.xml`.
472
+
`BONITA_SETUP_LOGGING_FILE`default value is `/opt/bonita/BonitaSubscription-${BONITA_VERSION}/setup/logback.xml`.
473
473
474
474
# How to extend this image
475
475
@@ -480,7 +480,7 @@ For example, you can increase the log level :
0 commit comments