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.
Follow the first post to create an account and install Docker.
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)”
You’ll then need to apply executable permissions for the binaries using the following command;
chmod +x /usr/local/bin/docker-compose
In this step, we should create the docker-compose file to deploy Let’s Chat use the following command to do that;
Now, copy and paste the following code in the newly created file;
Now type the following command to start the deployment process;
After the installation process is complete, you can log to your container from the browser using your IP address that you can get from your Dply dashboard e.g. (http://machine_IP).
Now, you’ll be directed to Let’s Chat main window.
Congratulations, you’ve successfully installed a Let’s Chat container on Dply, we’re going to cover more Docker container installation for many more web applications in the coming posts.