2019 Jul 06

starbug.com

Holly Hop Drive
This is the home page of Lincoln Randall McFarland (a.k.a. Randy), on line since 1995, back when domain names were free and spam was meat in a can. It has no purpose other than display my résumé and support my projects.

This iteration explores using containers to setup a web site with micro-services built around an nginx reverse proxy, described below. I created it mostly "by hand" with emacs and other open source tools to keep it clear and simple as possible. I have found this to be a very modular development environment: each container can be modified with out affecting the others. For example, it can be built with self signed or valid TLS certificates. Obviously, this makes it much easier to debug and deploy. All the source is checked into my github repos.

You can reach me though LinkedIn or FaceBook.

-lrm, 2019 Feb 16

The name starbug comes from the SciFi comedy Red Dwarf.

Produced by OmniGraffle 7.6 2018-01-21 17:04:09 +0000 Starbug Map nginx starbug.com you ar e her e the Inter net https aai.starbug.com db.starbug.com http http Click t o go t o the sit e, shift-click t o the sour ce.
To create this, I started with my c++/python coordinates library as a foundation for implementing Astronomical Algorithms by Jean Meeus. I wrapped this in python so I could use it with the flask micro-framework. And since I am requesting global position data from the browser, I added nginx to act as a TLS endpoint for my letsencrypt certs and be the reverse proxy for aai.starbug.com and db.starbug.com I also modified the docker.io nginx container to run the certbot as a cron job to renew the certs every two months. Lately, I have been working on adding a mongodb server in another container along with another flask/gunicorn UI to record observations. This also implements account logins.