web analytics

How to Install Syncthing Docker Container on Dply

Syncthing-dply-logo

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 Syncthing 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 the docker-compose file to deploy Syncthing 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: romqin/syncthing
ports:
– “8080:8080”
– “22000:22000”
– “21025:21025/udp”
volumes:
– ./config:/home/syncthing/.config/syncthing
– ./data:/home/syncthing/data
restart: always

Source: https://hub.docker.com/r/romqin/syncthing/

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

6 - wordpress Docker on Dply

Step Eight

Now, you’ll be directed to Syncthing main window.

1 - syncthing Docker on Dply

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