Skip to content

Commit 80d6a04

Browse files
Run update.sh
1 parent fbbd9da commit 80d6a04

File tree

7 files changed

+55
-72
lines changed

7 files changed

+55
-72
lines changed

bash/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`devel-20240927`, `devel`, `devel-20240927-alpine3.20`, `devel-alpine3.20`](https://github.com/tianon/docker-bash/blob/bea8b4f361686231e11d5f4e7dd61b83e52391cd/devel/Dockerfile)
27+
- [`devel-20241012`, `devel`, `devel-20241012-alpine3.20`, `devel-alpine3.20`](https://github.com/tianon/docker-bash/blob/605dec0095eade51e181fc7e9e5c0ff4bca0f39c/devel/Dockerfile)
2828

2929
- [`5.3-alpha`, `5.3-rc`, `rc`, `5.3-alpha-alpine3.20`, `5.3-rc-alpine3.20`, `rc-alpine3.20`](https://github.com/tianon/docker-bash/blob/f487bffdced60fba425283c84317e6492488a252/5.3-rc/Dockerfile)
3030

bonita/README.md

Lines changed: 24 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ WARNING:
2828

2929
- [`2023.1-u0`, `2023.1`, `8.0.0`, `8.0`](https://github.com/bonitasoft/bonita-distrib/blob/31dcebbf22ebcce11f8e3a9b9444802136c36c03/docker/Dockerfile)
3030

31-
- [`2023.2-u0`, `2023.2`, `9.0.0`, `9.0`, `latest`](https://github.com/bonitasoft/bonita-distrib/blob/397824cf4f302c37f3534908728a2b8321a31565/docker/Dockerfile)
31+
- [`2023.2-u0`, `2023.2`, `9.0.0`, `9.0`](https://github.com/bonitasoft/bonita-distrib/blob/397824cf4f302c37f3534908728a2b8321a31565/docker/Dockerfile)
32+
33+
- [`2024.3-u0`, `2024.3`, `10.2.0`, `10.2`, `latest`](https://github.com/bonitasoft/bonita-distrib/blob/634a6e462dbcc7da8ec7ed47adf419b9a24bf744/docker/Dockerfile)
3234

3335
# Quick reference (cont.)
3436

@@ -82,29 +84,26 @@ From Bonita 2022.1 onwards, the Bonita docker image does not include configurati
8284
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:
8385

8486
```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
8688
```
8789

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.
8991

9092
## ... via [`docker-compose`](https://github.com/docker/compose) or [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/)
9193

9294
Example `docker-compose.yml` for `bonita`:
9395

9496
```yaml
95-
version: '3'
96-
9797
services:
9898
db:
99-
image: bonitasoft/bonita-postgres:12.6
99+
image: bonitasoft/bonita-postgres:16.4
100+
ports:
101+
- 5432:5432
100102
environment:
101103
POSTGRES_PASSWORD: example
102104
restart: always
103-
command:
104-
- -c
105-
- max_prepared_transactions=100
106105
bonita:
107-
image: bonita:7.14.0
106+
image: bonita:2024.3
108107
hostname: custom-hostname.example.com
109108
ports:
110109
- 8080:8080
@@ -118,32 +117,17 @@ services:
118117
- BIZ_DB_NAME=business_data
119118
- BIZ_DB_USER=business_data
120119
- BIZ_DB_PASS=bpm
121-
- TENANT_LOGIN=tech_user
122-
- TENANT_PASSWORD=secret
120+
- BONITA_RUNTIME_ADMIN_USERNAME=tech_user
121+
- BONITA_RUNTIME_ADMIN_PASSWORD=secret
123122
- PLATFORM_LOGIN=pfadmin
124123
- PLATFORM_PASSWORD=pfsecret
125124
restart: on-failure:2
126125
depends_on:
127-
- db
128-
entrypoint:
129-
- bash
130-
- -c
131-
- |
132-
set -e
133-
echo 'Waiting for PostgreSQL to be available'
134-
maxTries=10
135-
while [ "$$maxTries" -gt 0 ] && [ $$(echo 'QUIT' | nc -w 1 "$$DB_HOST" 5432; echo "$$?") -gt 0 ]; do
136-
sleep 1
137-
let maxTries--
138-
done
139-
if [ "$$maxTries" -le 0 ]; then
140-
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
144128
```
145129
146-
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/d14f7b96a6cdcb815f50ba4244bf799f6127770f/bonita/stack.yml)
130+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/b9ac3b631e82399477dd12a906f6bf68b3d872b3/bonita/stack.yml)
147131
148132
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).
149133

@@ -173,7 +157,7 @@ docker run --name=bonita -h <hostname> --env-file=env.txt -d -p 8080:8080 bonita
173157
## Start Bonita with custom security credentials
174158

175159
```bash
176-
docker run --name=bonita -h <hostname> -e "TENANT_LOGIN=tech_user" -e "TENANT_PASSWORD=secret" -e "PLATFORM_LOGIN=pfadmin" -e "PLATFORM_PASSWORD=pfsecret" -d -p 8080:8080 bonita
160+
docker run --name=bonita -h <hostname> -e "BONITA_RUNTIME_ADMIN_USERNAME=tech_user" -e "BONITA_RUNTIME_ADMIN_PASSWORD=secret" -e "PLATFORM_LOGIN=pfadmin" -e "PLATFORM_PASSWORD=pfsecret" -d -p 8080:8080 bonita
177161
```
178162

179163
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
199183

200184
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.
201185

202-
### TENANT_LOGIN
186+
### BONITA_RUNTIME_ADMIN_USERNAME
203187

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.
205189

206-
### TENANT_PASSWORD
190+
### BONITA_RUNTIME_ADMIN_PASSWORD
207191

208192
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.
209193

@@ -297,7 +281,7 @@ These variables are used in conjunction to define how Bonita should access the [
297281

298282
The logger can be configured by mounting a volume on folder `/opt/bonita/conf/logs` containing the configuration files.
299283

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)
301285

302286
Any change made to one of this 2 files is automatically hot-reloaded and taken into account immediately.
303287

@@ -319,7 +303,7 @@ $ docker run -e HTTP_API=true -e HTTP_API_PASSWORD="My-Cust0m_S3cR3T" --name bo
319303

320304
## Update from an earlier version of Bonita
321305

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)
323307

324308
- Stop the container to perform a database backup
325309

@@ -353,17 +337,16 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
353337
$ cat /tmp/bonitadb.sql | psql -U newbonitauser -h 172.17.0.26 newbonitadb
354338
```
355339

356-
- Retrieve the last update tool
340+
- Retrieve the last update tool archive from https://www.bonitasoft.com/downloads
357341

358342
```console
359-
wget https://github.com/bonitasoft/bonita-platform-releases/releases/download/2023.2-u0/bonita-update-tool-3.3.0.zip
360-
unzip bonita-update-tool-3.3.0.zip
343+
unzip bonita-update-tool-3.6.0.zip
361344
```
362345

363346
- Configure the update tool
364347

365348
```console
366-
$ cd bonita-update-tool-3.3.0
349+
$ cd bonita-update-tool-3.6.0
367350
```
368351

369352
edit the update tool configuration file `Config.properties` to point towards the database.
@@ -392,7 +375,7 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
392375
- Launch the new container pointing towards the copy of the database.
393376

394377
```console
395-
$ docker run --name=bonita --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:2023.2-u0
378+
$ docker run --name=bonita --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:2024.3-u0
396379
```
397380

398381
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).

mysql/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`9.0.1`, `9.0`, `9`, `innovation`, `latest`, `9.0.1-oraclelinux9`, `9.0-oraclelinux9`, `9-oraclelinux9`, `innovation-oraclelinux9`, `oraclelinux9`, `9.0.1-oracle`, `9.0-oracle`, `9-oracle`, `innovation-oracle`, `oracle`](https://github.com/docker-library/mysql/blob/a482468640c602ccd8a7c86a4c7422f18a307326/innovation/Dockerfile.oracle)
27+
- [`9.1.0`, `9.1`, `9`, `innovation`, `latest`, `9.1.0-oraclelinux9`, `9.1-oraclelinux9`, `9-oraclelinux9`, `innovation-oraclelinux9`, `oraclelinux9`, `9.1.0-oracle`, `9.1-oracle`, `9-oracle`, `innovation-oracle`, `oracle`](https://github.com/docker-library/mysql/blob/b7333451d7be9f066e43f9612e6bbe3751e548f1/innovation/Dockerfile.oracle)
2828

29-
- [`8.4.2`, `8.4`, `8`, `lts`, `8.4.2-oraclelinux9`, `8.4-oraclelinux9`, `8-oraclelinux9`, `lts-oraclelinux9`, `8.4.2-oracle`, `8.4-oracle`, `8-oracle`, `lts-oracle`](https://github.com/docker-library/mysql/blob/ea8ec8343c4540ac52e8bba94b5a531e298ff700/8.4/Dockerfile.oracle)
29+
- [`8.4.3`, `8.4`, `8`, `lts`, `8.4.3-oraclelinux9`, `8.4-oraclelinux9`, `8-oraclelinux9`, `lts-oraclelinux9`, `8.4.3-oracle`, `8.4-oracle`, `8-oracle`, `lts-oracle`](https://github.com/docker-library/mysql/blob/8a0100a365707fa3e59d5b23defc64b9314c4bc7/8.4/Dockerfile.oracle)
3030

31-
- [`8.0.39`, `8.0`, `8.0.39-oraclelinux9`, `8.0-oraclelinux9`, `8.0.39-oracle`, `8.0-oracle`](https://github.com/docker-library/mysql/blob/3e6dfd03b956727c7fb5b30360512a11751a3e9d/8.0/Dockerfile.oracle)
31+
- [`8.0.40`, `8.0`, `8.0.40-oraclelinux9`, `8.0-oraclelinux9`, `8.0.40-oracle`, `8.0-oracle`](https://github.com/docker-library/mysql/blob/090eb25ac69bca920fc5320484bc35aac92a8143/8.0/Dockerfile.oracle)
3232

33-
- [`8.0.39-bookworm`, `8.0-bookworm`, `8.0.39-debian`, `8.0-debian`](https://github.com/docker-library/mysql/blob/3e6dfd03b956727c7fb5b30360512a11751a3e9d/8.0/Dockerfile.debian)
33+
- [`8.0.40-bookworm`, `8.0-bookworm`, `8.0.40-debian`, `8.0-debian`](https://github.com/docker-library/mysql/blob/090eb25ac69bca920fc5320484bc35aac92a8143/8.0/Dockerfile.debian)
3434

3535
# Quick reference (cont.)
3636

neo4j/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`5.24.1-community-bullseye`, `5.24-community-bullseye`, `5-community-bullseye`, `5.24.1-community`, `5.24-community`, `5-community`, `5.24.1-bullseye`, `5.24-bullseye`, `5-bullseye`, `5.24.1`, `5.24`, `5`, `community-bullseye`, `community`, `bullseye`, `latest`](https://github.com/neo4j/docker-neo4j-publish/blob/b38cae5fc959dd046cfa75bc48248f0ec9d2798b/5.24.1/bullseye/community/Dockerfile)
27+
- [`5.24.2-community-bullseye`, `5.24-community-bullseye`, `5-community-bullseye`, `5.24.2-community`, `5.24-community`, `5-community`, `5.24.2-bullseye`, `5.24-bullseye`, `5-bullseye`, `5.24.2`, `5.24`, `5`, `community-bullseye`, `community`, `bullseye`, `latest`](https://github.com/neo4j/docker-neo4j-publish/blob/849a03d18f2cdc12f82a874d45f0c8192583cb50/5.24.2/bullseye/community/Dockerfile)
2828

29-
- [`5.24.1-enterprise-bullseye`, `5.24-enterprise-bullseye`, `5-enterprise-bullseye`, `5.24.1-enterprise`, `5.24-enterprise`, `5-enterprise`, `enterprise-bullseye`, `enterprise`](https://github.com/neo4j/docker-neo4j-publish/blob/b38cae5fc959dd046cfa75bc48248f0ec9d2798b/5.24.1/bullseye/enterprise/Dockerfile)
29+
- [`5.24.2-enterprise-bullseye`, `5.24-enterprise-bullseye`, `5-enterprise-bullseye`, `5.24.2-enterprise`, `5.24-enterprise`, `5-enterprise`, `enterprise-bullseye`, `enterprise`](https://github.com/neo4j/docker-neo4j-publish/blob/849a03d18f2cdc12f82a874d45f0c8192583cb50/5.24.2/bullseye/enterprise/Dockerfile)
3030

31-
- [`5.24.1-community-ubi9`, `5.24-community-ubi9`, `5-community-ubi9`, `5.24.1-ubi9`, `5.24-ubi9`, `5-ubi9`, `community-ubi9`, `ubi9`](https://github.com/neo4j/docker-neo4j-publish/blob/b38cae5fc959dd046cfa75bc48248f0ec9d2798b/5.24.1/ubi9/community/Dockerfile)
31+
- [`5.24.2-community-ubi9`, `5.24-community-ubi9`, `5-community-ubi9`, `5.24.2-ubi9`, `5.24-ubi9`, `5-ubi9`, `community-ubi9`, `ubi9`](https://github.com/neo4j/docker-neo4j-publish/blob/849a03d18f2cdc12f82a874d45f0c8192583cb50/5.24.2/ubi9/community/Dockerfile)
3232

33-
- [`5.24.1-enterprise-ubi9`, `5.24-enterprise-ubi9`, `5-enterprise-ubi9`, `enterprise-ubi9`](https://github.com/neo4j/docker-neo4j-publish/blob/b38cae5fc959dd046cfa75bc48248f0ec9d2798b/5.24.1/ubi9/enterprise/Dockerfile)
33+
- [`5.24.2-enterprise-ubi9`, `5.24-enterprise-ubi9`, `5-enterprise-ubi9`, `enterprise-ubi9`](https://github.com/neo4j/docker-neo4j-publish/blob/849a03d18f2cdc12f82a874d45f0c8192583cb50/5.24.2/ubi9/enterprise/Dockerfile)
3434

3535
- [`4.4.38`, `4.4.38-community`, `4.4`, `4.4-community`](https://github.com/neo4j/docker-neo4j-publish/blob/213118aa64ab9ea85620c25865217a36a6faf7fa/4.4.38/bullseye/community/Dockerfile)
3636

rabbitmq/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ WARNING:
4040

4141
- [`3.13.7-management-alpine`, `3.13-management-alpine`, `3-management-alpine`](https://github.com/docker-library/rabbitmq/blob/36e4d246e934a96b1c3a920e398f96434f3fc34c/3.13/alpine/management/Dockerfile)
4242

43-
- [`3.12.14`, `3.12`](https://github.com/docker-library/rabbitmq/blob/444c58b5b51433019a9422737ee98b05adcf7e06/3.12/ubuntu/Dockerfile)
43+
- [`3.12.14`, `3.12`](https://github.com/docker-library/rabbitmq/blob/20cfa9c4feae1c23ebcbe6817167f9430639d545/3.12/ubuntu/Dockerfile)
4444

4545
- [`3.12.14-management`, `3.12-management`](https://github.com/docker-library/rabbitmq/blob/36e4d246e934a96b1c3a920e398f96434f3fc34c/3.12/ubuntu/management/Dockerfile)
4646

47-
- [`3.12.14-alpine`, `3.12-alpine`](https://github.com/docker-library/rabbitmq/blob/444c58b5b51433019a9422737ee98b05adcf7e06/3.12/alpine/Dockerfile)
47+
- [`3.12.14-alpine`, `3.12-alpine`](https://github.com/docker-library/rabbitmq/blob/20cfa9c4feae1c23ebcbe6817167f9430639d545/3.12/alpine/Dockerfile)
4848

4949
- [`3.12.14-management-alpine`, `3.12-management-alpine`](https://github.com/docker-library/rabbitmq/blob/36e4d246e934a96b1c3a920e398f96434f3fc34c/3.12/alpine/management/Dockerfile)
5050

ubuntu/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`20.04`, `focal-20240918`, `focal`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-focal-amd64-20240918-88c5b09e&id=88c5b09e2751b09cb08e958e3f826bb7322e41bc)
27+
- [`20.04`, `focal-20241011`, `focal`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-focal-amd64-20241011-2dc0aae1&id=2dc0aae17c912aa6ae81e4c4bbc7277692d67bae)
2828

2929
- [`22.04`, `jammy-20240911.1`, `jammy`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-jammy-amd64-20240911.1-b88de29a&id=b88de29aeed396f56b7eee0dd87e7249e7a8642f)
3030

31-
- [`24.04`, `noble-20241009`, `noble`, `latest`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-noble-amd64-20241009-997f6096&id=997f60964742b54aed111e647059906b374d51cc)
31+
- [`24.04`, `noble-20241011`, `noble`, `latest`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-noble-amd64-20241011-494cd4d4&id=494cd4d4ce68c2299acaca9d1591e21c45279864)
3232

3333
- [`24.10`, `oracular-20241009`, `oracular`, `rolling`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-oracular-amd64-20241009-71a6e10d&id=71a6e10d9d17f0baa437a234367e8e16406bd3c2)
3434

0 commit comments

Comments
 (0)