Skip to content
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

Merged
merged 15 commits into from Oct 14, 2015

Conversation

JeremJR
Copy link
Contributor

@JeremJR JeremJR commented Jun 29, 2015


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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"sepecify"

Copy link
Contributor Author

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

@psftw
Copy link
Contributor

psftw commented Jul 10, 2015

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.

@JeremJR
Copy link
Contributor Author

JeremJR commented Jul 17, 2015

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wan't -> want

Copy link
Contributor Author

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
Copy link
Member

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.

@yosifkit
Copy link
Member

yosifkit commented Oct 9, 2015

For the code blocks, you can move to a fenced code block (dockerfile or console) if you want specific language highlighting. The new hub actually renders them nicely.

@JeremJR
Copy link
Contributor Author

JeremJR commented Oct 14, 2015

@yosifkit Ok thanks, I've simplified the paths

@yosifkit
Copy link
Member

LGTM, pending docker-library/official-images#852

@tianon
Copy link
Member

tianon commented Oct 14, 2015

LGTM

tianon added a commit that referenced this pull request Oct 14, 2015
Add Bonita BPM Official Docker image
@tianon tianon merged commit b30e30a into docker-library:master Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants