diff --git a/aerospike/README.md b/aerospike/README.md index 76214f89d..9f51f8fd6 100644 --- a/aerospike/README.md +++ b/aerospike/README.md @@ -1,6 +1,6 @@ # Supported tags and respective `Dockerfile` links -- [`3.9.1`, `latest` (*Dockerfile*)](https://github.com/aerospike/aerospike-server.docker/blob/2ac3aa54b16eb6ab836783bc9c9215a8c2f1d66b/Dockerfile) +- [`3.9.1.1`, `latest` (*Dockerfile*)](https://github.com/aerospike/aerospike-server.docker/blob/955c0a023f0a2cce2b013b4bfbd016cc96435809/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/aerospike`)](https://github.com/docker-library/official-images/blob/master/library/aerospike). 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%2Faerospike). diff --git a/bonita/README.md b/bonita/README.md index 19fc34023..0fb9e78de 100644 --- a/bonita/README.md +++ b/bonita/README.md @@ -110,47 +110,49 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir ## Migrate from an earlier version of Bonita BPM -1. Stop the container to perform a backup +- Stop the container to perform a backup ```console - $ docker stop bonita_7.0.0_postgres + $ docker stop bonita_7.2.3_postgres ``` -2. Check where your data are stored +- For containers < 7.3.0 : - ```console - $ docker inspect bonita_7.0.0_postgres - [...] - "Mounts": [ - { - "Source": "/home/user/Documents/Docker/Volumes/bonita_7.0.0_postgres", - "Destination": "/opt/bonita", - "Mode": "", - "RW": true - } - ], - [...] - ``` + - Check where your data are stored -3. Copy data from the filesystem + ```console + $ docker inspect bonita_7.2.3_postgres + [...] + "Mounts": [ + { + "Source": "/home/user/Documents/Docker/Volumes/bonita_7.2.3_postgres", + "Destination": "/opt/bonita", + "Mode": "", + "RW": true + } + ], + [...] + ``` - cp -r bonita_7.0.0_postgres bonita_7.0.3_postgres + - Copy data from the filesystem -4. Retrieve the DB container IP + cp -r bonita_7.2.3_postgres bonita_migration + +- Retrieve the DB container IP ```console $ docker inspect --format '{{ .NetworkSettings.IPAddress }}' mydbpostgres 172.17.0.26 ``` -5. Dump the database +- Dump the database export PGPASSWORD=mysecretpassword pg_dump -O -x -h 172.17.0.26 -U postgres bonitadb > /tmp/bonitadb.sql Note that businessdb won't be updated with the migration tool but you may want to also backup/move it. -6. Load the dump +- Load the dump export PGPASSWORD=mysecretpassword psql -U postgres -h 172.17.0.26 -d postgres -c "CREATE USER newbonitauser WITH PASSWORD 'newbonitapass';" @@ -158,26 +160,38 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir export PGPASSWORD=newbonitapass cat /tmp/bonitadb.sql | psql -U newbonitauser -h 172.17.0.26 newbonitadb -7. Retrieve the last migration tool and the target version of the Bonita bundle +- Retrieve the last migration tool - cd bonita_7.0.3_postgres - wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.2.0.zip - wget http://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.0.3-Tomcat-7.0.55.zip - unzip bonita-migration-distrib-2.2.0.zip -d bonita-migration-distrib-2.2.0 - unzip BonitaBPMCommunity-7.0.3-Tomcat-7.0.55.zip + - If you migrate to a version < 7.3.0 -8. Move the previous Home into the new bundle + - get also the target version of the Bonita bundle - mv BonitaBPMCommunity-7.0.3-Tomcat-7.0.55/bonita/ BonitaBPMCommunity-7.0.3-Tomcat-7.0.55/bonita.orig - cp -r BonitaBPMCommunity-7.0.0-Tomcat-7.0.55/bonita/ BonitaBPMCommunity-7.0.3-Tomcat-7.0.55/bonita/ + ```console + cd bonita_migration + wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.15.0.zip + wget http://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip + unzip bonita-migration-distrib-2.15.0.zip + unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip + ``` -9. Configure the migration tool + - Move the previous Home into the new bundle - cd bonita-migration-distrib-2.2.0/ + ```console + mv BonitaBPMCommunity-7.2.4-Tomcat-7.0.67/bonita/ BonitaBPMCommunity-7.2.4-Tomcat-7.0.67/bonita.orig + cp -r BonitaBPMCommunity-7.2.3-Tomcat-7.0.67/bonita/ BonitaBPMCommunity-7.2.4-Tomcat-7.0.67/bonita/ + ``` - add the jdbc driver + - If you migrate to a version >= 7.3.0 - cp ../BonitaBPMCommunity-7.0.0-Tomcat-7.0.55/lib/bonita/postgresql-9.3-1102.jdbc41.jar lib/ + ```console + cd bonita_migration + wget http://download.forge.ow2.org/bonita/bonita-migration-distrib-2.15.0.zip + unzip bonita-migration-distrib-2.15.0.zip + ``` + +- Configure the migration tool + + cd bonita-migration-distrib-2.15.0 edit the migration tool config to point towards the copy of bonita home and db @@ -185,21 +199,61 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir For example : - bonita.home=/home/user/Documents/Docker/Volumes/bonita_7.0.3_postgres/BonitaBPMCommunity-7.0.3-Tomcat-7.0.55/bonita db.vendor=postgres db.url=jdbc:postgresql://172.17.0.26:5432/newbonitadb db.driverClass=org.postgresql.Driver db.user=newbonitauser db.password=newbonitapass + # location of the bonita home (only useful when migration from version before 7.3.0) + bonita.home=/home/user/Documents/Docker/Volumes/bonita_migration/BonitaBPMCommunity-7.2.3-Tomcat-7.0.67/bonita -10. Launch the migration +- Launch the migration - ./migration.sh + cd bin + ./bonita-migration-distrib -11. Launch the new container pointing towards the copy of DB and filesystem +- Launch the new container pointing towards the copy of DB and filesystem + + - If < 7.3.0 ```console - $ docker run --name=bonita_7.0.3_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -v "$PWD"/bonita_7.0.3_postgres:/opt/bonita/ -d -p 8081:8080 bonita:7.0.3 + $ docker run --name=bonita_7.2.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -v "$PWD"/bonita_migration:/opt/bonita/ -d -p 8081:8080 bonita:7.2.4 + ``` + + - If >= 7.3.0 + + ```console + $ docker run --name=bonita_7.3.0_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.3.0 + ``` + +- Reapply specific configuration if needed, for example with a version >= 7.3.0 : + + ```console + $ docker exec -ti bonita_7.3.0_postgres /bin/bash + ``` + + ```console + $ cd /opt/bonita/BonitaBPMCommunity-7.3.0-Tomcat-7.0.67/setup + $ ./setup.sh pull + $ TENANT_LOGIN=tech_user + $ TENANT_PASSWORD=secret + $ PLATFORM_LOGIN=pfadmin + $ PLATFORM_PASSWORD=pfsecret + $ sed -e 's/^#userName\s*=.*/'"userName=${TENANT_LOGIN}"'/' \ + -e 's/^#userPassword\s*=.*/'"userPassword=${TENANT_PASSWORD}"'/' \ + -i platform_conf/current/tenants/1/tenant_engine/bonita-tenant-community-custom.properties + $ sed -e 's/^platform.tenant.default.username\s*=.*/'"platform.tenant.default.username=${TENANT_LOGIN}"'/' \ + -e 's/^platform.tenant.default.password\s*=.*/'"platform.tenant.default.password=${TENANT_PASSWORD}"'/' \ + -i platform_conf/current/platform_portal/platform-tenant-config.properties + $ sed -e 's/^#platformAdminUsername\s*=.*/'"platformAdminUsername=${PLATFORM_LOGIN}"'/' \ + -e 's/^#platformAdminPassword\s*=.*/'"platformAdminPassword=${PLATFORM_PASSWORD}"'/' \ + -i platform_conf/current/platform_engine/bonita-platform-community-custom.properties + $ sed -i -e 's/^#GET|/GET|/' -e 's/^#POST|/POST|/' -e 's/^#PUT|/PUT|/' -e 's/^#DELETE|/DELETE|/' -i platform_conf/current/tenants/1/tenant_portal/dynamic-permissions-checks.properties + $ ./setup.sh push + ``` + + ```console + $ docker restart bonita_7.3.0_postgres ``` For more details regarding Bonita migration, see the [documentation](http://documentation.bonitasoft.com/migrate-earlier-version-bonita-bpm-0). diff --git a/chronograf/README.md b/chronograf/README.md index b8f2e7651..dfe2bb667 100644 --- a/chronograf/README.md +++ b/chronograf/README.md @@ -1,7 +1,8 @@ # Supported tags and respective `Dockerfile` links - [`0.12`, `0.12.0` (*0.12/Dockerfile*)](https://github.com/influxdata/chronograf-docker/blob/82b30f8a10b7dde9b13953400288768f109bf749/0.12/Dockerfile) -- [`0.13`, `0.13.0`, `latest` (*chronograf/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/215cf009c143dc739b5b10084ae330ca7f3665d6/chronograf/0.13/Dockerfile) +- [`0.13`, `0.13.0`, `latest` (*chronograf/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/chronograf/0.13/Dockerfile) +- [`1.0.0-rc1` (*chronograf/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/chronograf/1.0/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/chronograf`)](https://github.com/docker-library/official-images/blob/master/library/chronograf). 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%2Fchronograf). diff --git a/influxdb/README.md b/influxdb/README.md index 3ed3492fa..a1866b3a6 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -1,10 +1,10 @@ # Supported tags and respective `Dockerfile` links - [`0.12`, `0.12.2` (*0.12/Dockerfile*)](https://github.com/influxdata/influxdb-docker/blob/6d869aa598baf9d23019682ecff42d022a00ce17/0.12/Dockerfile) -- [`0.13`, `0.13.0`, `latest` (*influxdb/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/a2e36a415b71cd2b0bff87d0eaaf6d5329451c7c/influxdb/0.13/Dockerfile) -- [`0.13-alpine`, `0.13.0-alpine`, `alpine` (*influxdb/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/a2e36a415b71cd2b0bff87d0eaaf6d5329451c7c/influxdb/0.13/alpine/Dockerfile) -- [`1.0.0-beta3` (*influxdb/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/d6d3fd59d7c84461daa5a048d1381937b5e1b282/influxdb/1.0/Dockerfile) -- [`1.0.0-beta3-alpine` (*influxdb/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/d6d3fd59d7c84461daa5a048d1381937b5e1b282/influxdb/1.0/alpine/Dockerfile) +- [`0.13`, `0.13.0`, `latest` (*influxdb/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/influxdb/0.13/Dockerfile) +- [`0.13-alpine`, `0.13.0-alpine`, `alpine` (*influxdb/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/influxdb/0.13/alpine/Dockerfile) +- [`1.0.0-rc1` (*influxdb/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/influxdb/1.0/Dockerfile) +- [`1.0.0-rc1-alpine` (*influxdb/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/influxdb/1.0/alpine/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/influxdb`)](https://github.com/docker-library/official-images/blob/master/library/influxdb). 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%2Finfluxdb). diff --git a/kapacitor/README.md b/kapacitor/README.md index 9840bfaa9..f6d1cf41c 100644 --- a/kapacitor/README.md +++ b/kapacitor/README.md @@ -1,10 +1,10 @@ # Supported tags and respective `Dockerfile` links - [`0.12`, `0.12.0` (*0.12/Dockerfile*)](https://github.com/influxdata/kapacitor-docker/blob/bbfea78a0a43bd4c6d67e139afb518bac3aa424b/0.12/Dockerfile) -- [`0.13`, `0.13.1`, `latest` (*kapacitor/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/215cf009c143dc739b5b10084ae330ca7f3665d6/kapacitor/0.13/Dockerfile) -- [`0.13-alpine`, `0.13.1-alpine`, `alpine` (*kapacitor/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/215cf009c143dc739b5b10084ae330ca7f3665d6/kapacitor/0.13/alpine/Dockerfile) -- [`1.0.0-beta3` (*kapacitor/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22315c8e211defb2589fa6831c682391de492b88/kapacitor/1.0/Dockerfile) -- [`1.0.0-beta3-alpine` (*kapacitor/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22315c8e211defb2589fa6831c682391de492b88/kapacitor/1.0/alpine/Dockerfile) +- [`0.13`, `0.13.1`, `latest` (*kapacitor/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/kapacitor/0.13/Dockerfile) +- [`0.13-alpine`, `0.13.1-alpine`, `alpine` (*kapacitor/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/kapacitor/0.13/alpine/Dockerfile) +- [`1.0.0-rc1` (*kapacitor/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/kapacitor/1.0/Dockerfile) +- [`1.0.0-rc1-alpine` (*kapacitor/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/kapacitor/1.0/alpine/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/kapacitor`)](https://github.com/docker-library/official-images/blob/master/library/kapacitor). 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%2Fkapacitor). diff --git a/telegraf/README.md b/telegraf/README.md index 87750ae32..27072b155 100644 --- a/telegraf/README.md +++ b/telegraf/README.md @@ -1,10 +1,10 @@ # Supported tags and respective `Dockerfile` links - [`0.12`, `0.12.0` (*0.12/Dockerfile*)](https://github.com/influxdata/telegraf-docker/blob/9f5442edabacd2a72627246e7ee8c7d276bd0f28/0.12/Dockerfile) -- [`0.13`, `0.13.1`, `latest` (*telegraf/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/215cf009c143dc739b5b10084ae330ca7f3665d6/telegraf/0.13/Dockerfile) -- [`0.13-alpine`, `0.13.1-alpine`, `alpine` (*telegraf/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/215cf009c143dc739b5b10084ae330ca7f3665d6/telegraf/0.13/alpine/Dockerfile) -- [`1.0.0-beta3` (*telegraf/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22315c8e211defb2589fa6831c682391de492b88/telegraf/1.0/Dockerfile) -- [`1.0.0-beta3-alpine` (*telegraf/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22315c8e211defb2589fa6831c682391de492b88/telegraf/1.0/alpine/Dockerfile) +- [`0.13`, `0.13.1`, `latest` (*telegraf/0.13/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/telegraf/0.13/Dockerfile) +- [`0.13-alpine`, `0.13.1-alpine`, `alpine` (*telegraf/0.13/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/telegraf/0.13/alpine/Dockerfile) +- [`1.0.0-rc1` (*telegraf/1.0/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/telegraf/1.0/Dockerfile) +- [`1.0.0-rc1-alpine` (*telegraf/1.0/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/22b661b4c141d237669f94e4740f234b7be43a7b/telegraf/1.0/alpine/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/telegraf`)](https://github.com/docker-library/official-images/blob/master/library/telegraf). 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%2Ftelegraf).