Commit Graph

44 Commits

Author SHA1 Message Date
Jeremy Dormitzer
f5e4767c3f Add lockfile 2021-01-26 21:57:51 -05:00
Jeremy Dormitzer
0da8e4b6d2 Rename git-jeremydormitzer-com -> gitea 2021-01-26 21:57:40 -05:00
Jeremy Dormitzer
d4fec2d749 Point git.jeremydormitzer.com at packer-ized gitea 2021-01-26 20:50:32 -05:00
Jeremy Dormitzer
0843cccd50 Add nginx+https and volume to gitea 2021-01-25 17:56:15 -05:00
Jeremy Dormitzer
1b1eb94aee Switch to .env.local files instead of using pass directly in direnv 2021-01-25 10:20:18 -05:00
Jeremy Dormitzer
da232c6b03 [WIP] Set up gitea packer image
TODOs:
- figure out how to keep the mail password in app.ini during install
- mount volumes to persist data between droplet redeploys
- set up HTTPS
2021-01-22 18:22:13 -05:00
Jeremy Dormitzer
9b5fd90e9f Add "terraform" tag to terraform-created DO resources 2021-01-22 11:42:39 -05:00
Jeremy Dormitzer
c473a6807d Use homebrew-installed terraform-provider-netlify 2021-01-09 15:11:39 -05:00
Jeremy Dormitzer
33651cdc8f Delete web-server host 2021-01-09 15:11:27 -05:00
Jeremy Dormitzer
4cce60af67 Extract packer-backed droplet logic to a shared module 2021-01-07 11:28:25 -05:00
Jeremy Dormitzer
44553a3e1d Make syncthing snapshot name consistent with wallabag 2021-01-07 10:52:51 -05:00
Jeremy Dormitzer
8e63a40215 Update syncthing remote state key 2021-01-07 10:51:19 -05:00
Jeremy Dormitzer
bf237f19ed Point wallabag.jeremydormitzer.com at new wallabag instance 2021-01-07 10:49:09 -05:00
Jeremy Dormitzer
b9458e9fa2 Finish wallabag packer image 2021-01-07 10:48:14 -05:00
Jeremy Dormitzer
5b62b7f658 Split .envrc into project-specific files 2021-01-07 10:47:39 -05:00
Jeremy Dormitzer
e127c5c41d Import entries.json into wallabag packer image 2021-01-06 14:07:30 -05:00
Jeremy Dormitzer
91b6dfffe6 [WIP] Initial packer/terraform config for wallabag 2021-01-06 12:46:47 -05:00
Jeremy Dormitzer
4b638634fa Remove old syncthing instance 2020-12-31 16:22:41 -05:00
Jeremy Dormitzer
fe1dde4ffe Point syncthing.jeremydormitzer.com at packer syncthing droplet 2020-12-31 14:58:30 -05:00
Jeremy Dormitzer
52a3b47e05 Fix bindfs binding 2020-12-31 14:19:27 -05:00
Jeremy Dormitzer
88cfe0fce7 Read packer-manifest.json to get syncthing image id 2020-12-31 14:19:04 -05:00
Jeremy Dormitzer
cf13344168 Add SSL config for Syncthing 2020-12-31 11:04:47 -05:00
Jeremy Dormitzer
61cdfe3f68 Generate HTTPS certs with certbot for syncthing packer 2020-12-31 09:45:52 -05:00
Jeremy Dormitzer
736d51a5fa Pull env vars from pass directly in .envrc 2020-12-30 22:22:54 -05:00
Jeremy Dormitzer
52e99af422 Add syncthing key and cert in packer image, plus fix mount ownership 2020-12-30 22:22:18 -05:00
Jeremy Dormitzer
88a771f3c1 Add volume mount and config.xml in packer image for syncthing 2020-12-29 15:20:50 -05:00
Jeremy Dormitzer
269873e755 Commit lockfile 2020-12-21 10:43:55 -05:00
Jeremy Dormitzer
f7c6eebe64 [WIP] First pass at Syncthing Packer+Terraform deployment 2020-12-21 10:43:24 -05:00
Jeremy Dormitzer
afcac2d014 Capture DO SSH keys in Terraform 2020-12-21 10:42:58 -05:00
Jeremy Dormitzer
5388db88ce Capture netlify site in terraform 2020-12-20 23:41:31 -05:00
Jeremy Dormitzer
a6ad8aec39 Point jeremydormitzer.com at netlify 2020-12-10 14:59:38 -05:00
Jeremy Dormitzer
ff35428c7a Add ansible directories and configure hosts for all projects 2020-12-04 18:01:08 -05:00
Jeremy Dormitzer
8c8c7427c0 Rename jdormit-website -> web-server 2020-12-04 14:54:33 -05:00
Jeremy Dormitzer
459f8936c5 Commit direnv config file and move secrets to .env.local 2020-12-04 14:16:39 -05:00
Jeremy Dormitzer
88e5dde425 Move tf-init.sh to bin directory 2020-12-04 14:15:35 -05:00
Jeremy Dormitzer
450800c11d Move all Terraform config into /terraform subdirectories within projects 2020-12-04 14:10:49 -05:00
Jeremy Dormitzer
2b4e796e78 Pull DO tokens from pass 2020-12-04 09:23:36 -05:00
Jeremy Dormitzer
cabad59c81 Load project resources from terraform remote state 2020-12-04 09:10:23 -05:00
Jeremy Dormitzer
3db3fa2399 Pull remaining droplet IPs from remote state 2020-12-04 07:15:55 -05:00
Jeremy Dormitzer
2770cf5439 Pull jdormit-website ip address from remote state 2020-12-03 22:49:00 -05:00
Jeremy Dormitzer
2b8042d6b8 Add volume for Syncthing droplet 2020-12-03 16:37:44 -05:00
Jeremy Dormitzer
f6ce08450a Add DO project and droplets Terraform config 2020-12-03 16:26:28 -05:00
Jeremy Dormitzer
e899c3e85e Add jeremydormitzer.com domain config 2020-12-03 14:35:33 -05:00
Jeremy Dormitzer
d9fa6a96ff Initial commit: set up DigitalOcean Terraform backend 2020-12-03 13:36:33 -05:00