web analytics
Skip to content

How to Install Let’s Chat Docker Container on Dply

    let's-chat-dply-logo-332x178

    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 Let’s Chat 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)”

    1 - Webmin Docker on Dply

    Step Three

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

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

    1-1 - Webmin Docker on Dply

    Step Four

    In this step, we should create the docker-compose file to deploy Let’s Chat use the following command to do that;

    nano docker-compose.yml

    1-2 - Webmin Docker on Dply

    Step Five

    Now, copy and paste the following code in the newly created file;

    app:
    image: sdelements/lets-chat:latest
    links:
    – mongo
    ports:
    – 80:8080
    – 5222:5222

    mongo:
    image: mongo:latest

    Source: https://github.com/sdelements/lets-chat/blob/master/docker/docker-compose.yml

    Step Six

    Now type the following command to start the deployment process;

    docker-compose up

    Step Seven

    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).

    6 - wordpress Docker on Dply

    Step Eight

    Now, you’ll be directed to Let’s Chat main window.

    1 - let's chat on dply

    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.