Do you want to host a project management platform on location? Look no further than OpenProject. Discover how easy it is to deploy with Docker.
OpenProject is a powerful open source project management tool that can be used for traditional or Agile project management and it includes all the features you are used to using in project management such as Gantt charts, Kanban, Scrum and Sprints. In addition, OpenProject is secure and can be hosted on-premises and deployed as a Docker container.
I’ll show you how easy it is to deploy OpenProject using Docker.
TO SEE: Hiring Package: Project Manager (Tech Republic Premium)
What you need to deploy OpenProject with Docker
You need an operating system that supports Docker, which can be Linux, macOS or Windows. I’ll demonstrate the step-by-step process on Ubuntu Server 22.04; if you are using a different operating system, you just need to adjust the Docker installation process as the implementation will be the same regardless of the operating system.
Install Docker CE and Docker Compose
The first thing to do is to add the necessary repository. Before we do that, let’s add the GPG key with the command:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
Then add the official Docker repository:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install the necessary dependencies with:
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release git -y
Now we can install the latest version of the Docker engine:
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
Make sure your user is still a member of the docker group with the command:
sudo usermod -aG docker $USER
Log out and back in for the changes to take effect.
Install Docker Compose with:
sudo apt-get install docker-compose -y
Deploy OpenProject with Docker
Clone the official OpenProject repository with:
git clone https://github.com/opf/openproject-deploy --depth=1 --branch=stable/12 openproject
Go to the newly created directory with:
cd openproject/compose
Get the latest OpenProject image with:
docker-compose pull
The pull command takes five to fifteen minutes, depending on the speed of your network connection and hosting server. When this is the case, deploy the containers with the command:
OPENPROJECT_HTTPS=false docker-compose up -d
Access OpenProject
Give the containers a few minutes to deploy, then open your default web browser and point to it http://SERVER:8080
. When prompted for credentials, type admin/admin
.
How to deploy with a single command
If the steps above don’t deploy successfully, you can always deploy the container with a single command:
docker run -it -p 8080:80 -e OPENPROJECT_SECRET_KEY_BASE=secret -e OPENPROJECT_HOST__NAME=localhost:8080 -e OPENPROJECT_HTTPS=false openproject/community:12
This command may take some time to complete; when it’s done, give the containers time to deploy, then try opening OpenProject through your default browser. The default credentials for this method are the same, admin/admin
.
You may also want to implement OpenProject with persistent storage. For that, create the directories to house the data with the command:
sudo mkdir -p /var/lib/openproject/{pgdata,assets}
Deploy the containers with:
docker run -it -p 8080:80 --name openproject -e OPENPROJECT_SECRET_KEY_BASE=secret -e OPENPROJECT_HOST__NAME=localhost:8080 -e OPENPROJECT_HTTPS=false -v /var/lib/openproject/pgdata:/var/openproject/pgdata -v /var/lib/openproject/assets:/var/openproject/assets -d openproject/community:12
Note: You may want to change the localhost entry in the above command to the IP address of your hosting server’s domain; otherwise an error that you cannot remove will appear in the Settings section of OpenProject.
Again, give the containers enough time to deploy before attempting to open OpenProject from your browser.
It doesn’t get any easier than OpenProject
If you want to host a project management platform internally or via an external cloud host, it doesn’t get any easier than deploying OpenProject through Docker. Give this method a try and see if OpenProject can’t handle all your project management needs.
Subscribe to TechRepublic’s How to make technology work on YouTube for all the latest technical advice for business professionals from Jack Wallen.