Posted on Leave a comment

How to build a multi tenant site with Laravel ― Scotch

laravel multi-tenant site

Laravel is a wonderful framework, however the default settings make it difficult to use for more than one domain at the same time. A multi tenant site is one that uses the same codebase to serve data to multiple clients. A very popular example of this is slack. A multi tenant site will usually require that each tenant accesses the site from a unique url, and this causes problems because laravel by default, does not…

Read more

Posted on Leave a comment
Posted on 2 Comments

Moving a WordPress site into a Docker Container

docker-wordpress

WordPress is a very popular and flexible Content Management System (CMS). If you build websites, you are likely to have worked with (or had someone ask you to) WordPress. There are several tutorials about how to set up a new WordPress site with docker. Here is a very good one. However, no one really says how to move an existing WordPress site into a docker container. I have several servers on Digital Ocean, Linode and Vultr,…

Read more

Posted on 2 Comments
Posted on 1 Comment

Docker, Nginx and Let’s Encrypt for a secure website

docker

Let me show you how I use Docker, Nginx and Let’s encrypt to host my websites and serve secure https content. I use Docker to host a lot of my websites, and with Let’s Encrypt now issuing free SSL certificates, there is no excuse for not having one. Things to note My test server is running on Ubuntu 16.04. Though the process should be similar on most other servers. You should have pointed your domain…

Read more

Posted on 1 Comment