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.
 
 
 
 
Thomas Hintz abf8219061 Improving config documentation. 4 weeks ago
all-apps Adding dozzle for viewing logs. 1 month ago
config Improving config documentation. 4 weeks ago
flatcar Refactor build process to clean it up. 2 months ago
.gitignore Adding script/makefile rule for initializing restic 4 weeks ago
Makefile Adding script/makefile rule for initializing restic 4 weeks ago
README.org Improving config documentation. 4 weeks ago
cl.yaml Generate restic configs from apps.config 4 weeks ago
init-restic.sh Adding script/makefile rule for initializing restic 4 weeks ago
main.tf Refactor build process to clean it up. 2 months ago
make-caddyfile.sh Specify config files in variables. 4 weeks ago
make-generated.sh Specify config files in variables. 4 weeks ago
make-nextcloud-env.sh Specify config files in variables. 4 weeks ago
make-restic-generated.sh Generate restic configs from apps.config 4 weeks ago
make-restic-password.sh Generate restic configs from apps.config 4 weeks ago

README.org

Setup

Dependencies

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!