Site icon How to Learn

How to Install Wekan Docker Container on Dply

Before proceeding please note that Dply services are no longer available 

We’ve covered installing Docker on Dply.co in a previous post, this post will be a follow on to this post and we’ll use Docker containers to install Wekan Docker container on dply.co

This post will be an introduction to deploying web applications on dply.co using Docker containers, please note that the free tier of dply.co is only for 2 hours so you should only use it for trial purposes, of course, you can always pay to make it a production version.

Step One

Follow the first post to create an account and install Docker.

Step Two

In the terminal window, we’ll need to install Docker compose using the following command;

sudo curl -o /usr/local/bin/docker-compose -L “https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)”

Step Three

You’ll then need to apply executable permissions for the binaries using the following command;

chmod +x /usr/local/bin/docker-compose

Step Four

In this step, we shall create the Wekan compose file from which we’re going to start the Wekan container, use the following command to achieve that;

nano docker-compose.yml

Step Five

Copy and paste the following command in the newly created file and then close it.

version: ‘2’
services:
wekan:
image: wekanteam/wekan:meteor-1.4
links:
wekandb
environment:
– MONGO_URL=mongodb://wekandb/wekan
– ROOT_URL=http://Your_dply_IP_Address:8080
ports:
– 8080:80

wekandb:
image: mongo:3.2.12
volumes:
– /home/UserName/wekan/data:/data/db

Source: https://github.com/wekan/wekan/wiki/Install-Wekan-Docker-for-testing

Step Six

Now, we need to start running the container using the following command;

docker-composer up

Step Seven

After the installation process is complete, you can log to your container from the browser using your IP aggress that you can get from your Dply dashboard e.g. (http://machine_IP).

Step Eight

Now, you’ll be directed to Wekan installation window, create your admin username and password, then hit the “Finish Setup” tab at the bottom of the page.

Congratulations, you’ve successfully installed a Wekan container on Dply, we’re going to cover more Docker container installation for many more web applications in the coming posts.

Exit mobile version