by sphuff on 5/22/20, 1:08 PM with 70 comments
by stevekemp on 5/22/20, 6:41 PM
Instead of:
ports:
- "2368:2368"
expose:
- "2368"
The author probably just needs: ports:
- 127.0.0.1:2368:2368
That way "localhost:2368" will be routed to 2368 inside the container, such that caddy can access it, but not accessible externally, as it is right now: $ curl -v https://sphuff.com:2368
Though of course the ideal solution would be to run caddy as another container, and link them together.by badatcomputer on 5/22/20, 6:28 PM
by chrisseaton on 5/22/20, 6:05 PM
And if the author is reading - your Author link is broken.
by dwheeler on 5/22/20, 9:15 PM
If the domain name is owned by somebody else, then they own and control the site, not you.
by staysaasy on 5/22/20, 6:21 PM
- Jekyll for static site generation https://jekyllrb.com/
- We use the Hydeout Jekyll theme, you can see how it looks on our blog: http://staysaasy.com/. What you see is out-of-the-box plus ~30 lines of custom CSS.
- Git for storing our content
- Gitlab for CI/CD and hosting
- GoDaddy for domain management
We manage all of the content in Git, and push it when it's ready. It's really easy. You can even run "code reviews" on posts if you like.
by lowlevel on 5/22/20, 7:10 PM
by thamer on 5/22/20, 9:38 PM
I couldn't be happier with the setup: it's cheap, fast, requires zero maintenance and pretty much never goes down. Cost is close to nil: the most expensive part is for Route53 at $0.50 per Hosted Zone, and then S3+CloudFront add a few cents more.
If folks want to see how fast static pages can be on a CDN, the site is at https://re.kv.io
P.S. I didn't have to install Docker or MySQL.
by gourneau on 5/22/20, 8:39 PM
by waffle_ss on 5/22/20, 6:28 PM
by update on 5/22/20, 9:56 PM
Perhaps I'm missing something, but I don't get why these articles pop up so frequently as if making a blog was some super complicated thing that required the latest CMS, etc. Most people here (including me) would suffice with a nginx and plain html/css, no CMS required, based on articles like these, at least.
[0] https://github.com/sfttw/avanti [1] https://blog.sailingfasterthanthewind.com/
by butz on 5/22/20, 6:22 PM
by randtrain34 on 5/22/20, 7:22 PM
by 627467 on 5/22/20, 11:37 PM
How readable are these mobile layouts for everybody else?
by jpswade on 5/22/20, 7:08 PM
https://wade.be/2016/01/30/welcome-to-jekyll.html
Can’t get any easier, cheaper or lazier than that.
by decompiled_dev on 5/22/20, 7:46 PM
by Insanity on 5/22/20, 6:29 PM
by hawski on 5/23/20, 12:32 PM
In this case shared hosting will be even cheaper and maintenance free. System, server, Let's encrypt cert, database and language updates will be taken care of. Many of those PHP CMS-es or blogging systems have a one click updates in place. Some shared hosting providers can also take care of this for you. You can get something with ssh access and rsync so you can be lazy and edit HTML with Word and just sync it or an SSG if that strikes your fancy.
by ro2nie on 5/22/20, 10:33 PM
by nopit on 5/22/20, 6:00 PM
by Alir3z4 on 5/22/20, 9:21 PM
Probably, I'll just write about my pain about how did I deal with docker, exposing the port, nginx reverse, some vps provider and DNS stuff.
by paxys on 5/22/20, 7:45 PM
by herostratus101 on 5/22/20, 10:19 PM