Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.15 KB

File metadata and controls

32 lines (20 loc) · 1.15 KB

Prerequisites

Cloudflare account, domains, API token

Deploy process

For now, I'll deploy from my local computer - I just don't trust myself to properly set up a CI to not leak credentials and fuck up production systems!

  • (not yet implemented) run terraform to apply anything, generate secrets and dump them into gitignored files
  • run make deploy to rsync this entire goddamn folder to the VPS over SSH or something (requires me to setup rsync first, or just scp or whatever it's called)
  • run make up to reload all the goddamn things (note that docker-compose only reloads containers that have changed - either image or the actual docker-compose config)

Creating a new service

Checklist for web-facing services:

  • Traefik labels (incl. entrypoint)
  • Authelia middleware label
  • Flame label
  • Restart policy
  • Networks

Checklist for internal services:

  • Restart policy
  • Networks

Connecting to the server

Use ~.ssh/config to configure a specific host to connect to in the Makefile, named vultr, with your server's HostName and User.

Then tell Makefile to use that server SSH configuration using the SERVER variable.