0f70f43090
Add nginx ssl termination server
...
Squashed commit of the following:
commit 8371367d54
Author: Jeremy Dormitzer <jeremy.dormitzer@gmail.com>
Date: Tue Mar 8 11:56:39 2022 -0500
Ensure that nginx restarts after cert renewal
commit f2ef1ba9f2
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Tue Oct 5 21:16:44 2021 -0400
Put syncthing behind nginx
commit 6c10b1bb97
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Tue Oct 5 17:45:53 2021 -0400
Put wallabag behind nginx proxy
commit dd29785d86
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 17:30:46 2021 -0400
Put gitea behind the nginx proxy
commit 2d82c0ad54
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 13:36:37 2021 -0400
Add terraform outputs and spin up nginx droplet
commit 322449a194
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 13:29:59 2021 -0400
Finish packer build for nginx proxy
commit aec886064a
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 09:28:06 2021 -0400
[WIP] Add actual server values to nginx conf
commit 2c645d94c6
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 09:06:02 2021 -0400
[WIP] Use terraform to generate nginx conf file
commit 61ebc3d7af
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Mon Oct 4 09:04:56 2021 -0400
Ignore all tmp directories
commit e3feb6d3f7
Author: Jeremy Dormitzer <jeremydormitzer@lola.com>
Date: Sun Oct 3 12:32:42 2021 -0400
[WIP] Begin adding packer config for centralized ssl termination
2022-03-08 11:57:45 -05:00
Jeremy Dormitzer
35ebe35eb2
Add dir-locals
2021-10-03 12:31:53 -04:00
Jeremy Dormitzer
0f7229d4c8
Rebuild syncthing
2021-10-03 12:31:36 -04:00
Jeremy Dormitzer
2733215624
Rebuild gitea
2021-10-03 12:31:30 -04:00
Jeremy Dormitzer
9fb62ec25f
Rebuild wallabag w/ new certs and entries
2021-10-03 12:31:21 -04:00
Jeremy Dormitzer
9633b9a1d0
Make syncthing volume bigger
2021-10-03 12:27:14 -04:00
Jeremy Dormitzer
d8079c38ba
Point rss.jeremydormitzer.com to FreshRSS instance
2021-02-03 10:38:39 -05:00
Jeremy Dormitzer
92a42a2382
Add FreshRSS packer/terraform
2021-02-03 10:38:23 -05:00
dfa7473627
Merge pull request 'Packer-ized Gitea' ( #1 ) from jdormit/git-jeremydormitzer-com-packer into master
...
Reviewed-on: #1
2021-01-27 03:49:53 +00:00
Jeremy Dormitzer
4d7bc558eb
Get DO project terraform synced up
2021-01-26 22:47:14 -05:00
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