Commit Graph

425 Commits

Author SHA1 Message Date
Jake Howard
c47ff494e0 Revert "Disable docker healthchecks"
Turns out it really just takes that long to start up!

This reverts commit 61ed3db887.
2020-09-01 21:50:03 +01:00
Jake Howard
61ed3db887 Disable docker healthchecks
Makes traefik take *ages* to detect the container is actually running. Let it 502 if it has to
2020-09-01 20:12:52 +01:00
Jake Howard
3bc1d75d9e Ensure the correct IP is detected 2020-09-01 20:12:16 +01:00
Jake Howard
acef6246d0 Replace gitea with gitlab
Leave gitea in place for a bit in case I need to change back suddenly
2020-09-01 19:47:39 +01:00
Jake Howard
84d529be2f Update synapse 2020-08-31 18:47:37 +01:00
Jake Howard
3b7493ae8f Set default theme to dark and assign default proxy 2020-08-30 21:11:29 +01:00
Jake Howard
1ed078ef23 Fix SSH port for gitlab 2020-08-30 21:08:04 +01:00
Jake Howard
4610d5ced2 Update nextcloud to 19.0.2 2020-08-30 20:28:49 +01:00
Jake Howard
3d76c48bbf Use postgres on homeassistant 2020-08-30 16:58:27 +01:00
Jake Howard
ec751ffa1a Add influxdb to monitor traefik 2020-08-30 15:58:03 +01:00
Jake Howard
17f0e22962 Migrate grafana to postgres 2020-08-30 14:53:08 +01:00
Jake Howard
8efb3e0d69 Expose gitlab SSH 2020-08-30 11:22:15 +01:00
Jake Howard
796c694170 Run duplicati as root
This ensures it has all the right permissions to access all the right files. Host is mounted read-only, so there's no real security risk.
2020-08-30 11:15:08 +01:00
Jake Howard
5940b6970a Move gitlab to ZFS pool 2020-08-30 10:19:57 +01:00
Jake Howard
0ce15cb4d8 Add gitlab 2020-08-29 23:56:14 +01:00
Jake Howard
da90b12643 Modify clickhouse settings so it's not a resource whore
This means it can be moved back to ZFS!
2020-08-28 14:20:13 +01:00
Jake Howard
c6791e4098 Remove stray vault file from removing todoist-github 2020-08-28 14:17:45 +01:00
Jake Howard
8a7cc5e57e Move clickhouse back to old disk
It does a stupid number of writes, and the snapshots are massive! Until i've worked out why it writes so much, move it to a less critical disk
2020-08-27 14:16:12 +01:00
Jake Howard
9a8995f1f8 Use single cron job for pruning and taking snapshots
Less to manage, and less lock contention
2020-08-26 13:02:50 +01:00
Jake Howard
77262cd206 Reduce number of sanoid snapshots
It should be pretty quick for me to realise something went wrong. Can recycle through space much quicker this way!
2020-08-26 09:08:26 +01:00
Jake Howard
1f70a46c35 Add custom clickhouse config
This changes the default log level to warning, to ensure the log file isn't being hammered
2020-08-26 08:54:37 +01:00
Jake Howard
3edc34759d Mount clickhouse logs on tmpfs
WHO LOGS TRACE BY DEFAULT?!
2020-08-25 22:05:10 +01:00
Jake Howard
742412259c Mount transcodes on scratch disk
Don't want them getting caught by sanoid!
2020-08-25 14:30:26 +01:00
Jake Howard
4feff3d247 Move jellyfin to ZFS 2020-08-25 14:17:57 +01:00
Jake Howard
6808e86a6d Update nextcloud base 2020-08-24 14:30:11 +01:00
Jake Howard
922b688615 Bump ZFS usage to 50% RAM
It's a lot, but should be dealable on most machines
2020-08-23 14:15:09 +01:00
Jake Howard
f531d4f915 Move plausible onto ZFS 2020-08-22 12:19:47 +01:00
Jake Howard
9ffdd4d711 Move grafana to ZFS
Don't need to create the directory anymore really
2020-08-22 12:07:44 +01:00
Jake Howard
f517831435 Install synapse config to right place 2020-08-22 12:03:04 +01:00
Jake Howard
67dfe6a8a0 Remove todoist-github
It's got some pretty big bugs, and isn't running anyway
2020-08-22 12:01:24 +01:00
Jake Howard
07d5c4fa72 Move quassel to ZFS 2020-08-22 11:59:10 +01:00
Jake Howard
3dc8ee16b5 Move wallabag to ZFS 2020-08-22 11:51:51 +01:00
Jake Howard
ff7ec46e77 Move synapse to ZFS 2020-08-22 11:42:03 +01:00
Jake Howard
037d719906 Migrate deluge data to ZFS pool 2020-08-22 11:20:38 +01:00
Jake Howard
8d2c6dfb68 Move gitea to ZFS 2020-08-21 16:02:56 +01:00
Jake Howard
bc5d6d512b Move calibre to ZFS pool 2020-08-21 15:34:04 +01:00
Jake Howard
2866cd0602 Move TT-RSS into ZFS pool 2020-08-21 15:33:46 +01:00
Jake Howard
35266e975d Drive sanoid changes from YAML 2020-08-20 21:47:12 +01:00
Jake Howard
1bcb8f22b1 Fully resolve path to sanoid
Apparently cron didn't like just `sanoid`
2020-08-20 21:24:33 +01:00
Jake Howard
a2e021ac43 Install ZFS on home server 🎉 2020-08-19 21:34:23 +01:00
Jake Howard
a5aa21429c Conditionally run reflector role rather than manually defining which machines run arch 2020-08-19 18:58:58 +01:00
Jake Howard
63ec7c671a Manually install sanoid
Makes the foundation for a future external role
2020-08-19 18:40:17 +01:00
Jake Howard
fcd4dbf657 Fix casing
Turns out it's a lower case "l"
2020-08-19 17:59:56 +01:00
Jake Howard
2ef836b2e9 Remove synapse helper scripts
They're not maintained, and actually highly advised against
2020-08-18 20:39:23 +01:00
Jake Howard
efc7a5d7fb Allow arc to be 20% RAM usage 2020-08-18 13:47:48 +01:00
Jake Howard
cbbd7bf83d Update synapse 2020-08-18 13:13:25 +01:00
Jake Howard
6716b418d7 Ensure cron tasks are run as the right user
Looks like by default they're installed as the current user, not root. Bad ansible documentation!
2020-08-17 22:29:02 +01:00
Jake Howard
af22e89a73 Update nextcloud base 2020-08-17 13:57:53 +01:00
Jake Howard
bf4e90d053 Update synapse 2020-08-17 13:57:44 +01:00
Jake Howard
150a34be2f Provide cron flag to sanoid 2020-08-17 13:49:07 +01:00