Public | Automated Build

Last pushed: 8 months ago
Short Description
All CMDBuild versions
Full Description

CMDBuild in Docker (Last version 2.4.3)

Last update : 24/02/2017 . Add cmdbuild 2.4.3 and update readme

  • From cmdbuild 2.4.0 I will stop adding the docker-compose file with the link option
  • From 10/2016, I will stop to add the tomcat 6 dockerfiles.
  • Please open issues on github

I recommend to use the latest version of cmdbuild with Tomcat 7

CMDBuild

CMDBuild is a web environment in which you can configure custom solutions for IT Governance, or more generally for asset management.

Docker

Docker allows you to package an application with all of its dependencies into a standardized unit for software development.

More information :

Information

This is the unofficial (updated !) repository with all the versions of cmdbuild. You can choose wich version of tomcat you would like to use for your project.

I will update the repository every time there is a new version of cmdbuild available

Supported tags and respective Dockerfile links

Example

docker run --name cmdbuild -p 8080:8080 -d quentinv/cmdbuild:t7-2.1.4
  • t7 : Version of tomcat
  • 2.1.4 : Version of cmdbuild

You want the last version ?

docker run --name cmdbuild -p 8080:8080 -d quentinv/cmdbuild:latest

Tags

Tomcat 6 with java 8

/!\ From cmdbuild 2.4.1, I stopped to add the Tomcat 6 dockerfiles.

Tomcat 7 with java 8

Docker Compose

I created a docker-compose.yml for every version of cmdbuild. (tomcat + postgresql).

You can use the following : --link option (deprecated) or the network feature (since docker 1.10 and docker-compose 1.6).

Docker Compose files

Links (deprecated)

/!\ From cmdbuild 2.4.0 I stopped to add the docker-compose file with the link option

Tomcat 6 with java 8

Tomcat 7 with java 8

Network

Tomcat 6 with java 8

Tomcat 7 with java 8

Database configuration

Networks
  • Host: pgsql_container_name
  • Port: 5432
  • Username: postgres
  • Password: your_postgres_password
Links
  • Host: name_of_the_link (database in my docker-compose files)
  • Port: 5432
  • Username: postgres
  • Password: your_postgres_password

Please open issues on github

Docker Pull Command
Owner
quentinv
Source Repository

Comments (6)
cf532088799
14 days ago

hi ,I pull the images and run it, and when I config the postgres,test linking success in the web at the last step,but it take error like this:Call: services/json/configure/apply

Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:63)
at org.cmdbuild.services.database.DatabaseConfigurator.configure(DatabaseConfigurator.java:169)
at org.cmdbuild.services.database.DatabaseConfigurator.configureAndSaveSettings(DatabaseConfigurator.java:147)
at org.cmdbuild.servlets.json.Configure.apply(Configure.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:104)
at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:183)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:48)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:52)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.cmdbuild.filters.LocalizationFilter.doFilter(LocalizationFilter.java:127)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

sam19751
3 months ago

Hi,
How can i link cmdbuild to a remote database?I don't know how to configure it.

quentinv
8 months ago

Hello @renied.

You should try admin/admin or demo/demo.

There is not notification when someone add a comment here, please create an issue on github if you have a problem :

https://github.com/Quentinvarquet/docker-cmdbuild/issues

Thank you :)

renied
8 months ago

What is the Username in Demo Database?

quentinv
2 years ago

Hello @wangyuwenbj

Version 2.4 is now available in the repository.

You can also try this new version 91.121.64.81:8087 (demo/demo)

:-)

wangyuwenbj
2 years ago

waiting version 2.4,thanks.