Commit Graph

919 Commits

Author SHA1 Message Date
Jake Howard 9296c88ae4 Remove date from DB backups 2021-06-20 15:23:15 +01:00
Jake Howard bb5bbf16f5 Remove alpine special case
https://github.com/ansible-collections/community.general/pull/1722 has shipped.
2021-06-20 12:43:59 +01:00
Jake Howard 8948437b66 Use official extension 2021-06-20 12:39:58 +01:00
Jake Howard e3502ae1e0 Provision dokku server 2021-06-20 12:12:34 +01:00
Jake Howard b20ffb27c4 Remove gotify
Never used it
2021-06-12 19:00:39 +01:00
Jake Howard 4e5fa59c58 Add redis
This isn't really used as a cache, but it is for a couple bits, so nice to enable it anyway, and it might become so in future
2021-06-12 18:53:50 +01:00
Jake Howard 290b147821 Thin out synapse config
Previously it was the vast majority of code in the whole repo. Now we only define the necessary keys, and rely much more on defaults, which is nice!
2021-06-12 18:49:29 +01:00
Jake Howard 47e546d51a Add synapse-admin
Useful to see what's going on on the server
2021-06-12 18:09:18 +01:00
Jake Howard 3485f8e1f0 Actually version the ingress haproxy config 2021-06-12 17:32:47 +01:00
Jake Howard 33fcf1a9e5 Fix matrix federation
Apparently this has been broken since like March...

It seems communication over port 8448 is required for server-to-server
comms, even if the client doesn't use it.
2021-06-12 17:32:47 +01:00
Jake Howard 94e4592db6 Update synapse to 1.35.1 2021-06-12 16:46:16 +01:00
Jake Howard 5d4817e840 Move some larger gitlab storage off tank
Means they'll be backed up less, but they're less important anyway
2021-06-07 20:24:59 +01:00
Jake Howard 3c3f69a776 Remove unnecessary influxdb instance
Never used it anyway
2021-06-03 20:50:54 +01:00
Jake Howard d59e86a8e8 Remove unnecessary private_ip var from forrest
It was redundant
2021-06-03 20:47:33 +01:00
Jake Howard f1f2c620b0 Replace DHCP on PVE for static IPs
So much easier to deal with!
2021-06-03 20:47:08 +01:00
Jake Howard d751a023da Promote GitLab to main git. domain 2021-06-02 19:49:28 +01:00
Jake Howard 6c23180591 Remove gitea
I use GitLab now
2021-06-02 19:27:09 +01:00
Jake Howard 9c2ebd60e8 Remove duplicati
We're a restic shop now!
2021-06-02 19:18:21 +01:00
Jake Howard 51b3ffd33a Allow containers to be cached on CI
There's an existing task to clean them up, and being out of date by a week isn't the end of the world
2021-06-01 21:51:18 +01:00
Jake Howard a867df04a5 Add a GitLab runner
Woo CI!
2021-06-01 19:29:21 +01:00
Jake Howard 64ebaa67d0 Setup email for gitlab
Not super useful, but nice to enable it
2021-05-30 21:30:03 +01:00
Jake Howard e6d029e22e Fix typo
D'oh!
2021-05-30 13:56:06 +01:00
Jake Howard bf5c95fbe2 Stop running everything at midnight 2021-05-30 13:55:44 +01:00
Jake Howard 9a6eef0320 Use correct cidr for GitLab auth 2021-05-29 22:49:57 +01:00
Jake Howard d922bf30ef Allow git user to authenticate over SSH 2021-05-29 22:01:28 +01:00
Jake Howard 8610be3ac3 Rename host
"gitlab" sounds more like the hosted service, not mine
2021-05-29 22:01:01 +01:00
Jake Howard 69abafd8c8 Put GitLab on a real domain 2021-05-29 16:21:47 +01:00
Jake Howard 9118938fea Remove some GitLab constraints
I don't need things that constrained. The defaults are probably fine, and better tested.
2021-05-29 15:44:01 +01:00
Jake Howard f063af2478 Reconfigure gitlab on machine start 2021-05-29 11:21:20 +01:00
Jake Howard c7bde8b3dd Init a GitLab server
Some day i'll make up my mind on which server to use, honest!
2021-05-28 22:49:48 +01:00
Jake Howard 5ac5e2f8ab Stagger backup times 2021-05-23 20:37:41 +01:00
Jake Howard 7063e55ea9 Increase line length 2021-05-22 20:28:36 +01:00
Jake Howard ee55100016 Update gitea 2021-05-21 21:57:16 +01:00
Jake Howard e6dbe08ce0 Update nextcloud 2021-05-21 21:48:15 +01:00
Jake Howard 420ef3b95c Update synapse 2021-05-21 21:47:32 +01:00
Jake Howard 830bd862d9 Update nebula 2021-05-21 21:34:13 +01:00
Jake Howard 48e07d2a7e Rename more bitwarden things
Serving on both domains currently, i'll migrate clients and fix that
2021-05-18 22:18:05 +01:00
Jake Howard 71a30c8815 Reduce history for TF state 2021-05-18 19:33:38 +01:00
Jake Howard ae597a7359 Backup plain DB backups on walker 2021-05-16 15:36:56 +01:00
Jake Howard a124bff473 Add scheduling for backup and forgetting
Only forget on 1 machine
2021-05-16 15:34:37 +01:00
Jake Howard 91725d5876 Add forget and prune commands 2021-05-16 14:39:44 +01:00
Jake Howard 5f6dc6e177 Support backing up clickhouse to file
It's janky, but it works
2021-05-16 12:25:32 +01:00
Jake Howard b4936f5780 Revert "Store DB files compressed"
This reverts commit f4a289ae98.

Incremental backups work much better with plaintext
2021-05-16 11:16:25 +01:00
Jake Howard 1431f7a30a Add restic to walker 2021-05-09 14:26:21 +01:00
Jake Howard 7fc67ca8d4 Put files in the root of the role 2021-05-08 16:47:25 +01:00
Jake Howard f4a289ae98 Store DB files compressed
Means external backups can still be compressed a bit
2021-05-08 16:45:08 +01:00
Jake Howard 26cd35785c Fix DB backup location 2021-05-08 16:45:08 +01:00
Jake Howard 48c88347a9 Add some healthchecks integration to backup 2021-05-08 16:45:08 +01:00
Jake Howard 781aa93892 Add some restic wrapper things 2021-05-08 16:45:08 +01:00
Jake Howard e7c2a7fb34 Provision a restic container 2021-05-07 19:38:11 +01:00