{"id":939,"date":"2022-03-28T10:48:51","date_gmt":"2022-03-28T10:48:51","guid":{"rendered":"https:\/\/mklasen.com\/?p=939"},"modified":"2022-05-17T11:54:46","modified_gmt":"2022-05-17T11:54:46","slug":"halcyon-part-3-simplified","status":"publish","type":"post","link":"https:\/\/mklasen.com\/halcyon-part-3-simplified\/","title":{"rendered":"Halcyon Part 3: Simplified"},"content":{"rendered":"\n
Hey! Here’s the simplified version of Halcyon Part 3. This version is created as a follow-along and will set the foundation for other videos as well. The idea is to eventually have your own mini-server running at home or at the office. But, since purchasing hardware is quite a barrier, I decided to run a sample service in the clouds before going any further.<\/p>\n\n\n\n
I’ll keep it simple in here. These are the steps you need to follow, and the video below will help you through.<\/p>\n\n\n\n
git clone https:\/\/github.com\/mklasen\/halcyon.git<\/code><\/li>- Change to the cloned directory (
cd halcyon<\/code>)<\/li>- Install docker https:\/\/docs.docker.com\/engine\/install\/ubuntu\/<\/a><\/li>
- Install docker-compose https:\/\/docs.docker.com\/compose\/install\/<\/a><\/li>
- Run
docker-compose pull<\/code><\/li>- Run
nano \/etc\/systemd\/resolved.conf<\/code> and uncomment and set DNSStubListener to No.<\/li>- Reboot your droplet by entering
reboot<\/code><\/li>- Run nano docker-compose.yml and change {your_droplet_ip_address} to your droplet’s IP address.<\/li>
- Run
docker-compose up<\/code><\/li>- Set your computer’s DNS server to use the DNS service provided from your droplet which is your droplet’s IP address.<\/li>
- Make sure your server it still able to resolve DNS by letting it use our dockerized DNS service: r
un sudo nano \/etc\/resolv.conf<\/code> and change 127.0.0.53<\/code> to 127.0.0.1<\/code>.<\/li><\/ol>\n\n\n\n