How to release the latest variation of OpenProject with Docker


Seeking to host a task management platform on-site? Look no more than OpenProject. Find out how simple it is to deploy with Docker.

Programming code abstract technology background of software developer and Computer script Image: monsitj/Adobe Stock OpenProject is an effective open-source task management tool that can be utilized for traditional or Agile task management, and it includes all of the functions you’re accustomed to utilizing with project management such as Gantt charts, kanban, scrum and sprints. Also, OpenProject is safe and secure, and it can be hosted on-site and deployed as a Docker container.

I will reveal you how simple it is to deploy OpenProject with the help of Docker.

SEE: Hiring set: Job manager (TechRepublic Premium)

What you require to deploy OpenProject with Docker

Must-read designer protection

You require an operating system that supports Docker, which can be Linux, macOS or Windows. I’ll demonstrate the step-by-step procedure on Ubuntu Server 22.04; if you’re utilizing a various os, you just require to modify the Docker setup procedure, as the deployment will be the exact same, despite the OS.

How to set up Docker CE and Docker Compose

The first thing to do is add the required repository. Prior to we do that, we’ll include the GPG secret with the command:

curl -fsSL|sudo gpg– dearmor -o/ usr/share/keyrings/ docker-archive-keyring. gpg

Next, include the main Docker repository:

echo “deb [arch=amd64 signed-by=/ usr/share/keyrings/ docker-archive-keyring. gpg] $(lsb_release -cs) steady”|sudo tee/ etc/apt/sources. list.d/ docker.list >/ dev/null

Install the needed dependences with:

sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release git -y

Now we can install the most recent version of the Docker engine:

sudo apt-get upgrade
sudo apt-get set up docker-ce docker-ce-cli -y

Ensure your user is still a member of the docker group with the command:

sudo usermod -aG docker $USER

Log out and log back in for the modifications to take effect.

Install Docker Make Up with:

sudo apt-get install docker-compose -y

How to release OpenProject with Docker

Clone the main OpenProject repository with:

git clone– depth=1– branch=stable/12 openproject

Change into the newly-created directory site with:

cd openproject/compose

Pull the latest OpenProject image with:

docker-compose pull

The pull command will take 5 to 15 minutes to complete, depending on the speed of your network connection and hosting server. When it does, release the containers with the command:

OPENPROJECT_HTTPS=false docker-compose up -d

How to gain access to OpenProject

Give the containers a couple of minutes to release, open your default web browser, and point it to http://SERVER:8080. When prompted for login qualifications, type admin/admin.

How to deploy with a single command

If the above steps do not release successfully, you can constantly 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 can take some time to finish; when it ends up, give the containers time to deploy, and after that, attempt to access OpenProject by means of your default internet browser. The default qualifications for this approach are the same, admin/admin.

You might also wish to deploy OpenProject with persistent storage. For that, create the directory sites to house the information with the command:

sudo mkdir -p/ var/lib/openproject/ pgdata, possessions Release the containers with:

docker run -it -p 8080:80– name openproject -e OPENPROJECT_SECRET_KEY_BASE=trick -e OPENPROJECT_HOST __ NAME=localhost:8080 -e OPENPROJECT_HTTPS=false -v/ var/lib/openproject/ pgdata:/ var/openproject/pgdata -v/ var/lib/openproject/ properties:/ var/openproject/assets -d openproject/community:12

Note: You might wish to change the localhost entry in the above command to either the IP address of the domain of your hosting server; otherwise, a mistake will appear that you can not get rid of in the Settings portion of OpenProject.

Once again, offer the containers lots of time to deploy prior to trying to gain access to OpenProject from your web browser.

It does not get any much easier than OpenProject

If you want to host a job management platform in-house or through a third-party cloud host, it does not get any much easier than releasing OpenProject through Docker. Offer this approach a shot, and see if OpenProject can’t satisfy all of your job management requirements.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech suggestions for organization pros from Jack Wallen.


Leave a Reply

Your email address will not be published. Required fields are marked *