Commit Graph

1046 Commits

Author SHA1 Message Date
Jake Howard
501fe81979 Update nextcloud to v22 2021-07-11 20:20:48 +01:00
Jake Howard
65eb6efe5a Remove GitHub CI 2021-07-11 18:30:59 +01:00
Jake Howard
322843b3c1 chmod the correct directory 2021-07-11 18:20:13 +01:00
Jake Howard
c6266728b4 Fix directory permissions before install 2021-07-11 18:12:54 +01:00
Jake Howard
0364cbade5 Ensure current directory isn't world writable
See https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
2021-07-11 18:07:15 +01:00
Jake Howard
b0cc416d69 OK fine use slim and install things there
Needs a build pipeline
2021-07-11 17:56:31 +01:00
Jake Howard
e183315f02 Explicitly add bash
Now might as well use the alpine container
2021-07-11 17:50:46 +01:00
Jake Howard
ec9095a117 Use a full terraform container, not just the binary 2021-07-11 17:47:56 +01:00
Jake Howard
36f33c2547 Use slim python container 2021-07-11 17:47:42 +01:00
Jake Howard
2901afe4c0 Add GitLab CI config 2021-07-11 17:02:36 +01:00
Jake Howard
3daf3ef8ed Pin clickhouse to 21.6
21.7 doesn't work
2021-07-11 16:11:09 +01:00
Jake Howard
b2d226300b Update nextcloud to 21.0.3 2021-07-04 21:17:03 +01:00
Jake Howard
19eb233ffa Update vaultwarden to 1.22.1 2021-07-03 11:27:27 +01:00
Jake Howard
797c44a27d Use proxy protocol v2
Apparently it's better for chaining, and may be faster anyway
2021-07-01 22:28:25 +01:00
Jake Howard
b6adc53746 Revert "Capture stderr in logs, too"
This reverts commit 8696f6d93f.

Yeah, this doesn't work. Syntax and intention.
2021-06-28 08:33:08 +01:00
Jake Howard
41a8fe3b4d Use logrotate for backrest logging rather than nuking immediately
Just in case something goes wrong with healthchecks
2021-06-27 10:58:01 +01:00
Jake Howard
8696f6d93f Capture stderr in logs, too 2021-06-27 10:53:13 +01:00
Jake Howard
7f597dbf87 Serve notes from dokku 2021-06-26 21:30:04 +01:00
Jake Howard
1c07534c40 Stop resetting dokku hostname to default 2021-06-26 21:27:39 +01:00
Jake Howard
40e785de38 Add yet more metric sources 2021-06-26 12:52:55 +01:00
Jake Howard
32f17908ad Collect metrics on disk usage 2021-06-26 12:36:00 +01:00
Jake Howard
77d2b82761 Add healthchecks for snapraid 2021-06-26 11:45:56 +01:00
Jake Howard
18603d726e Add username to proxmox-nag-removal role
Makes it obviously not one of mine
2021-06-25 22:47:21 +01:00
Jake Howard
09a010f28e Version snapraid config
Using fork of role at https://github.com/IronicBadger/ansible-role-snapraid/pull/7
2021-06-25 22:43:26 +01:00
Jake Howard
b82e87c04b Remove unnecessary which
`cron` doesn't need a full path
2021-06-25 20:57:19 +01:00
Jake Howard
50c5ed68e3 Install some dokku plugins 2021-06-22 22:57:02 +01:00
Jake Howard
83c84abc62 Use dokku role to install it
I also switched the host to debian, as the arch install didn't quite work.
2021-06-22 22:08:01 +01:00
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