Commit Graph

68 Commits

Author SHA1 Message Date
56ecc25c4b Add monitoring to droplets 2024-10-25 00:29:02 -04:00
90ee3a6d01 Increase gitea droplet size 2024-10-04 15:55:24 -04:00
3198517f2e Use system ssh for gitea 2024-08-17 23:11:32 -04:00
23bf44120b Update DigitalOcean SSH keys & configure Gitea server
Consolidated SSH keys definitions by removing redundant entries and moving a key to a more appropriate resource. Updated SSH service configuration for improved security and management. Applied changes to Packer build, including updating the OS version to Ubuntu 24-04 and configuring SSH and necessary dependencies. Adjusted certbot-renew service and related Packer scripts.
2024-08-17 13:50:23 -04:00
4d649a0bef Build gitea image 2024-02-12 11:31:57 -05:00
cfde0a0e72 Move DNS records to gitea terraform 2024-02-12 11:31:41 -05:00
ca0bc6e5c8 Switch from Make to Rake 2024-02-11 23:24:45 -05:00
c7e87a871f Restore local nginx for gitea and decommission nginx droplet 2024-01-15 00:39:01 -05:00
ab49519de7 Delete wallabag, syncthing, freshrss, and justin-ghost-site 2024-01-14 23:37:24 -05:00
7b7b6b3606 Use correct ip for freshrss DNS 2022-11-04 10:13:11 -04:00
Jeremy Dormitzer
e4da973d13 Add new spaces bucket for backups 2022-05-12 15:17:07 -04:00
Jeremy Dormitzer
ee4b876302 Update do-spaces DO plugin version 2022-05-12 15:16:55 -04:00
Jeremy Dormitzer
3a3b196531 Add new ssh public key and upgrade DO plugin version 2022-05-12 15:00:57 -04:00
Jeremy Dormitzer
b6343310b8 Add ability to pass additional args to tf-init.sh 2022-05-12 15:00:32 -04:00
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