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
@@ -82,29 +84,26 @@ From Bonita 2022.1 onwards, the Bonita docker image does not include configurati
82
84
Therefore the PostgreSQL container needs to be configured to work with Bonita before starting the Bonita container. The configuration of a PostgreSQL database to work with Bonita is described in details in the [database configuration page](https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration#postgres_setup). + Alternatively, Bonita provides a preconfigured [PostgreSQL image](https://hub.docker.com/r/bonitasoft/bonita-postgres) on docker-hub. + You can run the image with the following command:
83
85
84
86
```bash
85
-
docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:12.6
87
+
docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:16.4
86
88
```
87
89
88
-
This image is built from the following [GitHub repository](https://github.com/Bonitasoft-Community/bonita-database-docker/tree/main/postgres/12), which can be further adapted/customized to suit your needs.
90
+
This image is built from the following [GitHub repository](https://github.com/Bonitasoft-Community/bonita-database-docker/tree/main/postgres/16), which can be further adapted/customized to suit your needs.
89
91
90
92
## ... via [`docker-compose`](https://github.com/docker/compose) or [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/)
echo >&2 'error: unable to contact Postgres after 10 tries'
141
-
exit 1
142
-
fi
143
-
exec /opt/files/startup.sh /opt/bonita/server/bin/catalina.sh run
126
+
db:
127
+
condition: service_healthy
144
128
```
145
129
146
-
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/d14f7b96a6cdcb815f50ba4244bf799f6127770f/bonita/stack.yml)
130
+
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/b9ac3b631e82399477dd12a906f6bf68b3d872b3/bonita/stack.yml)
147
131
148
132
Run `docker stack deploy -c stack.yml bonita` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
Now you can access the Bonita Runtime on localhost:8080/bonita and login using: tech_user / secret
@@ -199,11 +183,11 @@ This optional environment variable is used in conjunction with PLATFORM_PASSWORD
199
183
200
184
This environment variable is recommended 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.
201
185
202
-
### TENANT_LOGIN
186
+
### BONITA_RUNTIME_ADMIN_USERNAME
203
187
204
-
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 username `install` will be used.
188
+
This optional environment variable is used in conjunction with BONITA_RUNTIME_ADMIN_PASSWORD to define the username for the tenant administrator. If it is not specified, the default username `install` will be used.
205
189
206
-
### TENANT_PASSWORD
190
+
### BONITA_RUNTIME_ADMIN_PASSWORD
207
191
208
192
This environment variable is recommended 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.
209
193
@@ -297,7 +281,7 @@ These variables are used in conjunction to define how Bonita should access the [
297
281
298
282
The logger can be configured by mounting a volume on folder `/opt/bonita/conf/logs` containing the configuration files.
299
283
300
-
the volume must contain the 2 files [log4j2-loggers.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/7.14.0/tomcat-resources/tomcat-distrib-for-bonita/src/main/resources/tomcat/server/conf/log4j2-loggers.xml) and [log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/7.14.0/docker/files/log4j2/log4j2-appenders.xml)
284
+
the volume must contain the 2 files [log4j2-loggers.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.2.0/tomcat-resources/tomcat-distrib-for-bonita/src/main/resources/tomcat/server/conf/log4j2-loggers.xml) and [log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.2.0/docker/files/log4j2/log4j2-appenders.xml)
301
285
302
286
Any change made to one of this 2 files is automatically hot-reloaded and taken into account immediately.
303
287
@@ -319,7 +303,7 @@ $ docker run -e HTTP_API=true -e HTTP_API_PASSWORD="My-Cust0m_S3cR3T" --name bo
319
303
320
304
## Update from an earlier version of Bonita
321
305
322
-
For updating from a version before 7.10.0, please refer to the [documentation](https://documentation.bonitasoft.com/bonita/latest/version-update/migrate-from-an-earlier-version-of-bonita)
306
+
For updating from a version before 7.10.0, please refer to the [documentation](https://documentation.bonitasoft.com/bonita/latest/version-update/update-with-migration-tool)
323
307
324
308
- Stop the container to perform a database backup
325
309
@@ -353,17 +337,16 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
For more details regarding Bonita update and for version before 7.10.0, see the [documentation](https://documentation.bonitasoft.com/bonita/latest/version-update/migrate-from-an-earlier-version-of-bonita).
0 commit comments