You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
776 B
Org Mode
39 lines
776 B
Org Mode
* Setup
|
|
** Dependencies
|
|
- terraform
|
|
- docker
|
|
- bash
|
|
|
|
** Configuration
|
|
*** apps.config
|
|
|
|
- ~cp config/apps.config.tmpl config/apps.config~
|
|
|
|
- then edit ~config/apps.config~ and fill in all variables
|
|
|
|
*** production.tfvars
|
|
|
|
- ~cp config/production.tfvars.tmpl config/production.tfvars~
|
|
|
|
- then edit ~config/production.tfvars~ and fill in all variables
|
|
|
|
*** ssh keys
|
|
|
|
- ~touch config/ssh-keys~
|
|
|
|
- if you want to add your ssh key(s) for debugging then paste the pub ID in to the file
|
|
|
|
*** initializing the "off-site" Restic backups
|
|
|
|
- ~make restic-init~
|
|
|
|
* Deploy
|
|
|
|
- ~make apply~
|
|
|
|
* You're done!
|
|
|
|
It will take a few minutes to deploy the server, start it, and pull
|
|
all the docker images. But after that you should be able to visit your
|
|
site and the apps running on its subdomains!
|