Run update.sh

This commit is contained in:
Docker Library Bot 2017-02-13 15:32:43 -08:00
parent 8e8659325e
commit 344c16aba7
2 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Supported tags and respective `Dockerfile` links # Supported tags and respective `Dockerfile` links
- [`7.3.3` (*7.3/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/19d78ec0f212891e97814b2db30891b9b280f7e5/7.3/Dockerfile) - [`7.3.3` (*7.3/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/19d78ec0f212891e97814b2db30891b9b280f7e5/7.3/Dockerfile)
- [`7.4.1`, `latest` (*7.4/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/dd265ab1802f8b697940e864af80ed0a34b12a4b/7.4/Dockerfile) - [`7.4.2`, `latest` (*7.4/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/3cba78412d44ab6719dcd3951db11feaa76a8dfc/7.4/Dockerfile)
For more information about this image and its history, please see [the relevant manifest file (`library/bonita`)](https://github.com/docker-library/official-images/blob/master/library/bonita). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fbonita). For more information about this image and its history, please see [the relevant manifest file (`library/bonita`)](https://github.com/docker-library/official-images/blob/master/library/bonita). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fbonita).
@ -168,9 +168,9 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
```console ```console
cd bonita_migration cd bonita_migration
wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.19.0.zip wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.20.0.zip
wget http://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip wget http://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
unzip bonita-migration-distrib-2.19.0.zip unzip bonita-migration-distrib-2.20.0.zip
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
``` ```
@ -185,13 +185,13 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
```console ```console
cd bonita_migration cd bonita_migration
wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.19.0.zip wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.20.0.zip
unzip bonita-migration-distrib-2.19.0.zip unzip bonita-migration-distrib-2.20.0.zip
``` ```
- Configure the migration tool - Configure the migration tool
cd bonita-migration-distrib-2.19.0 cd bonita-migration-distrib-2.20.0
edit the migration tool config to point towards the copy of bonita home and db edit the migration tool config to point towards the copy of bonita home and db
@ -223,17 +223,17 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
- If >= 7.3.0 - If >= 7.3.0
```console ```console
$ docker run --name=bonita_7.4.1_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.4.1 $ docker run --name=bonita_7.4.2_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.4.2
``` ```
- Reapply specific configuration if needed, for example with a version >= 7.3.0 : - Reapply specific configuration if needed, for example with a version >= 7.3.0 :
```console ```console
$ docker exec -ti bonita_7.4.1_postgres /bin/bash $ docker exec -ti bonita_7.4.2_postgres /bin/bash
``` ```
```console ```console
$ cd /opt/bonita/BonitaBPMCommunity-7.4.1-Tomcat-7.0.67/setup $ cd /opt/bonita/BonitaBPMCommunity-7.4.2-Tomcat-7.0.67/setup
$ ./setup.sh pull $ ./setup.sh pull
$ TENANT_LOGIN=tech_user $ TENANT_LOGIN=tech_user
$ TENANT_PASSWORD=secret $ TENANT_PASSWORD=secret
@ -253,7 +253,7 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
``` ```
```console ```console
$ docker restart bonita_7.4.1_postgres $ docker restart bonita_7.4.2_postgres
``` ```
For more details regarding Bonita migration, see the [documentation](http://documentation.bonitasoft.com/?page=migrate-from-an-earlier-version-of-bonita-bpm). For more details regarding Bonita migration, see the [documentation](http://documentation.bonitasoft.com/?page=migrate-from-an-earlier-version-of-bonita-bpm).
@ -356,7 +356,7 @@ For example, you can increase the log level :
mkdir -p custom_bonita mkdir -p custom_bonita
echo '#!/bin/bash' > custom_bonita/bonita.sh echo '#!/bin/bash' > custom_bonita/bonita.sh
echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaBPMCommunity-7.4.1-Tomcat-7.0.67/server/conf/logging.properties' >> custom_bonita/bonita.sh echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaBPMCommunity-7.4.2-Tomcat-7.0.67/server/conf/logging.properties' >> custom_bonita/bonita.sh
chmod +x custom_bonita/bonita.sh chmod +x custom_bonita/bonita.sh
docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 bonita docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 bonita
@ -365,7 +365,7 @@ Note: There are several ways to check the `bonita` logs. One of them is
```console ```console
$ docker exec -ti bonita_custom /bin/bash $ docker exec -ti bonita_custom /bin/bash
tail -f /opt/bonita/BonitaBPMCommunity-7.4.1-Tomcat-7.0.67/server/logs/bonita.`date +%Y-%m-%d`.log tail -f /opt/bonita/BonitaBPMCommunity-7.4.2-Tomcat-7.0.67/server/logs/bonita.`date +%Y-%m-%d`.log
``` ```
# License # License

View File

@ -1,6 +1,6 @@
# Supported tags and respective `Dockerfile` links # Supported tags and respective `Dockerfile` links
- [`latest`, `1.0`, `1.0.2` (*Dockerfile*)](https://github.com/crate/docker-crate/blob/add38c215dbcbfa1645382a0ecea6923d9002828/Dockerfile) - [`latest`, `1.0`, `1.0.3` (*Dockerfile*)](https://github.com/crate/docker-crate/blob/76bc222522685306fe2124022d3d7f1a6cf54f3c/Dockerfile)
- [`0.57`, `0.57.6` (*Dockerfile*)](https://github.com/crate/docker-crate/blob/54ceb9d7065ee853faf3b050ddaeeee3580585b8/Dockerfile) - [`0.57`, `0.57.6` (*Dockerfile*)](https://github.com/crate/docker-crate/blob/54ceb9d7065ee853faf3b050ddaeeee3580585b8/Dockerfile)
For more information about this image and its history, please see [the relevant manifest file (`library/crate`)](https://github.com/docker-library/official-images/blob/master/library/crate). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fcrate). For more information about this image and its history, please see [the relevant manifest file (`library/crate`)](https://github.com/docker-library/official-images/blob/master/library/crate). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fcrate).