-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Bonita BPM Official Docker image #263
Conversation
|
||
docker run --name bonita -d -p 8080:8080 bonita | ||
|
||
This will start a container running the [Tomcat Bundle](http://documentation.bonitasoft.com/tomcat-bundle-1) with Bonita BPM Engine + Portal. As you didn't sepecify any environment variables it's almost like if you have launched the Bundle on your host using startup.{sh|bat} (with security hardening on REST and HTTP APIs, cf Security part). It means that Bonita BPM uses a H2 database here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sepecify"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, I've fixed that
The links point to older versions of the documentation. The topic of managing persistent state, especially for an application like this which may be critical to a business, should be addressed. It can be confusing for new Docker users, and is dependent on how the image works and how volumes are utilized, so providing some guidance will go a long way. |
Thanks, I've updated the links and added a "Where to Store Data" section and some guidance on how to migrate from an earlier version of Bonita BPM. |
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 wan't to also backup/move it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wan't -> want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, it's updated
|
||
Mount that directory location as /docker-entrypoint-initdb.d inside the PostgreSQL container: | ||
|
||
docker run --name mydbpostgres -v ~/Documents/Docker/Volumes/custom_postgres/:/docker-entrypoint-initdb.d -e POSTGRES_PASSWORD=mysecretpassword -d postgres:9.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably simplify this local directory in this and previous lines since ~/
may not expand properly. I think just mkdir custom_postgres
and then this run would be -v "$PWD"/custom_postgres/:/docker-entrypoint-initdb.d
. What do you think?
Could even skip the mkdir
and just -v "$PWD"/bonita.sh:/docker-entrypoint-initdb.d/bonita.sh
.
For the code blocks, you can move to a fenced code block ( |
@yosifkit Ok thanks, I've simplified the paths |
LGTM, pending docker-library/official-images#852 |
LGTM |
Add Bonita BPM Official Docker image
docker-library/official-images#852