CMDBuild in Docker (Last version 2.5.1)
Last update : 29/05/2018 . Add cmdbuild 2.5.1 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
You want the last version ?
docker run --name cmdbuild -p 8080:8080 -d quentinv/cmdbuild:latest
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.
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
Tags
Tomcat 6 with java 8
** /!\ From cmdbuild 2.4.1, I stopped to add the Tomcat 6 dockerfiles.**
t6-1.4.0.2
,t6-1.5.0
,t6-2.0.0
,t6-2.0.3
,t6-2.1.0
,t6-2.1.1
,t6-2.1.2
,t6-2.1.3
,t6-2.1.4
,t6-2.1.5
,t6-2.1.6
,t6-2.1.7
,t6-2.1.8
,t6-2.2.0
,t6-2.2.1
,t6-2.2.2
,t6-2.3.0
,t6-2.3.1
,t6-2.3.2
,t6-2.3.3
,t6-2.3.4
,t6-2.4.0
,t6-2.4.1
Tomcat 7 with java 8
t7-1.4.0.2
,t7-1.5.0
,t7-2.0.0
,t7-2.0.3
,t7-2.1.0
,t7-2.1.1
,t7-2.1.2
,t7-2.1.3
,t7-2.1.4
,t7-2.1.5
,t7-2.1.6
,t7-2.1.7
,t7-2.1.8
,t7-2.2.0
,t7-2.2.1
,t7-2.2.2
,t7-2.3.0
,t7-2.3.1
,t7-2.3.2
,t7-2.3.3
,t7-2.3.4
,t7-2.4.0
,t7-2.4.1
,t7-2.4.2
,t7-2.4.3
,t7-2.5.0
,t7-2.5.1 (latest)
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
t6-1.4.0.2
,t6-1.5.0
,t6-2.0.0
,t6-2.0.3
,t6-2.1.0
,t6-2.1.1
,t6-2.1.2
,t6-2.1.3
,t6-2.1.4
,t6-2.1.5
,t6-2.1.6
,t6-2.1.7
,t6-2.1.8
,t6-2.2.0
,t6-2.2.1
,t6-2.2.2
,t6-2.3.0
,t6-2.3.1
,t6-2.3.2
,t6-2.3.3
,t6-2.3.4
,t6-2.4.0
Tomcat 7 with java 8
t7-1.4.0.2
,t7-1.5.0
,t7-2.0.0
,t7-2.0.3
,t7-2.1.0
,t7-2.1.1
,t7-2.1.2
,t7-2.1.3
,t7-2.1.4
,t7-2.1.5
,t7-2.1.6
,t7-2.1.7
,t7-2.1.8
,t7-2.2.0
,t7-2.2.1
,t7-2.2.2
,t7-2.3.0
,t7-2.3.1
,t7-2.3.2
,t7-2.3.3
,t7-2.3.4
,t7-2.4.0
Network
Tomcat 6 with java 8 (deprecated)
t6-1.4.0.2
,t6-1.5.0
,t6-2.0.0
,t6-2.0.3
,t6-2.1.0
,t6-2.1.1
,t6-2.1.2
,t6-2.1.3
,t6-2.1.4
,t6-2.1.5
,t6-2.1.6
,t6-2.1.7
,t6-2.1.8
,t6-2.2.0
,t6-2.2.1
,t6-2.2.2
,t6-2.3.0
,t6-2.3.1
,t6-2.3.2
,t6-2.3.3
,t6-2.3.4
,t6-2.4.0
,t6-2.4.1
Tomcat 7 with java 8
t7-1.4.0.2
,t7-1.5.0
,t7-2.0.0
,t7-2.0.3
,t7-2.1.0
,t7-2.1.1
,t7-2.1.2
,t7-2.1.3
,t7-2.1.4
,t7-2.1.5
,t7-2.1.6
,t7-2.1.7
,t7-2.1.8
,t7-2.2.0
,t7-2.2.1
,t7-2.2.2
,t7-2.3.0
,t7-2.3.1
,t7-2.3.2
,t7-2.3.3
,t7-2.3.4
,t7-2.4.0
,t7-2.4.1
,t7-2.4.2
,t7-2.4.3
,t7-2.5.0
,t7-2.5.1(latest)
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