Skip to content

Commit

Permalink
Run update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
docker-library-bot committed Oct 16, 2024
1 parent fbbd9da commit 80d6a04
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 72 deletions.
2 changes: 1 addition & 1 deletion bash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ WARNING:

# Supported tags and respective `Dockerfile` links

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

- [`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)

Expand Down
65 changes: 24 additions & 41 deletions bonita/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ WARNING:

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

- [`2023.2-u0`, `2023.2`, `9.0.0`, `9.0`, `latest`](https://github.com/bonitasoft/bonita-distrib/blob/397824cf4f302c37f3534908728a2b8321a31565/docker/Dockerfile)
- [`2023.2-u0`, `2023.2`, `9.0.0`, `9.0`](https://github.com/bonitasoft/bonita-distrib/blob/397824cf4f302c37f3534908728a2b8321a31565/docker/Dockerfile)

- [`2024.3-u0`, `2024.3`, `10.2.0`, `10.2`, `latest`](https://github.com/bonitasoft/bonita-distrib/blob/634a6e462dbcc7da8ec7ed47adf419b9a24bf744/docker/Dockerfile)

# Quick reference (cont.)

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

```bash
docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:12.6
docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:16.4
```

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

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

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

```yaml
version: '3'

services:
db:
image: bonitasoft/bonita-postgres:12.6
image: bonitasoft/bonita-postgres:16.4
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: example
restart: always
command:
- -c
- max_prepared_transactions=100
bonita:
image: bonita:7.14.0
image: bonita:2024.3
hostname: custom-hostname.example.com
ports:
- 8080:8080
Expand All @@ -118,32 +117,17 @@ services:
- BIZ_DB_NAME=business_data
- BIZ_DB_USER=business_data
- BIZ_DB_PASS=bpm
- TENANT_LOGIN=tech_user
- TENANT_PASSWORD=secret
- BONITA_RUNTIME_ADMIN_USERNAME=tech_user
- BONITA_RUNTIME_ADMIN_PASSWORD=secret
- PLATFORM_LOGIN=pfadmin
- PLATFORM_PASSWORD=pfsecret
restart: on-failure:2
depends_on:
- db
entrypoint:
- bash
- -c
- |
set -e
echo 'Waiting for PostgreSQL to be available'
maxTries=10
while [ "$$maxTries" -gt 0 ] && [ $$(echo 'QUIT' | nc -w 1 "$$DB_HOST" 5432; echo "$$?") -gt 0 ]; do
sleep 1
let maxTries--
done
if [ "$$maxTries" -le 0 ]; then
echo >&2 'error: unable to contact Postgres after 10 tries'
exit 1
fi
exec /opt/files/startup.sh /opt/bonita/server/bin/catalina.sh run
db:
condition: service_healthy
```
[![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)
[![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)
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).

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

```bash
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
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
```

Now you can access the Bonita Runtime on localhost:8080/bonita and login using: tech_user / secret
Expand All @@ -199,11 +183,11 @@ This optional environment variable is used in conjunction with PLATFORM_PASSWORD

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.

### TENANT_LOGIN
### BONITA_RUNTIME_ADMIN_USERNAME

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

### TENANT_PASSWORD
### BONITA_RUNTIME_ADMIN_PASSWORD

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.

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

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

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

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

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

## Update from an earlier version of Bonita

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

- Stop the container to perform a database backup

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

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

```console
wget https://github.com/bonitasoft/bonita-platform-releases/releases/download/2023.2-u0/bonita-update-tool-3.3.0.zip
unzip bonita-update-tool-3.3.0.zip
unzip bonita-update-tool-3.6.0.zip
```

- Configure the update tool

```console
$ cd bonita-update-tool-3.3.0
$ cd bonita-update-tool-3.6.0
```

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

```console
$ 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
$ 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
```

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).
Expand Down
8 changes: 4 additions & 4 deletions mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ WARNING:

# Supported tags and respective `Dockerfile` links

- [`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)
- [`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)

- [`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)
- [`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)

- [`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)
- [`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)

- [`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)
- [`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)

# Quick reference (cont.)

Expand Down
8 changes: 4 additions & 4 deletions neo4j/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ WARNING:

# Supported tags and respective `Dockerfile` links

- [`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)
- [`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)

- [`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)
- [`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)

- [`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)
- [`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)

- [`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)
- [`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)

- [`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)

Expand Down
4 changes: 2 additions & 2 deletions rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ WARNING:

- [`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)

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

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

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

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

Expand Down
4 changes: 2 additions & 2 deletions ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ WARNING:

# Supported tags and respective `Dockerfile` links

- [`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)
- [`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)

- [`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)

- [`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)
- [`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)

- [`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)

Expand Down
Loading

0 comments on commit 80d6a04

Please sign in to comment.