Skip to content
No description, website, or topics provided.
Shell VCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
etc
.gitignore init Aug 5, 2019
README.markdown init Aug 5, 2019
deploy
provision
run-goatcounter init Aug 5, 2019
run-goatletter

README.markdown

Server infrastructure for zgoat services. It's all really KISS and simple.

HTTP request overview

  • Varnish runs on *:80 and localhost:8001
    • Requests to port 80 are redirected to 443
  • Hitch runs on *:443, redirects to Varnish on 8001
  • Varnish does its cache thing and redirects to backend services:
    • GoatLetter: 8080
    • GoatCounter: 8081

Certificates are generated with acme.sh; see etc/hitch/create-cert.

Other services

  • smtpd (OpenSMTPD) to deliver emails.

Scripts

  • deploy Go apps. It assumes the current directory is of the Go program. It doesn't restart anything, or run DB migrations.
  • provision new servers. Alpine Linux is assumed.
  • run-* the services. Right now I just run this in tmux.
You can’t perform that action at this time.