Commit Graph

230 Commits

Author SHA1 Message Date
IamTheFij 0d47a1f8c8 Tune PhotoPrism 2022-11-11 16:21:47 -08:00
IamTheFij bb400a3f1c Add blocky metrics to grafana 2022-11-11 16:21:17 -08:00
IamTheFij da70aa74ca Add expose path for blocky /metrics
Not sure if it's needed
2022-11-11 13:47:27 -08:00
IamTheFij a30749f357 Switch services to module based Terraform template from levant
This ends up with a better experience in dealing with tfstate for some
services. Not sure why.
2022-11-11 13:47:26 -08:00
IamTheFij 49c8a73ac9 Store loki data on ephemeral disk 2022-11-11 13:24:54 -08:00
IamTheFij 3bfc1f61ac Update levant service template with some defaults 2022-11-11 13:24:28 -08:00
IamTheFij af32c9e2e5 Put grafana bootstrap secrets in secrets location 2022-11-10 13:39:12 -08:00
IamTheFij 3077e66e70 Limit all existing services to websecure entrypoint
This will be a bigger issue if exposing a public entrypoint.
2022-11-10 13:37:50 -08:00
IamTheFij 29110eaf47 Update Nomad UI links to Consul and Vault 2022-11-10 13:37:50 -08:00
IamTheFij 5b0f50140c Update playbook that clears nomad and consul data 2022-11-10 13:37:50 -08:00
IamTheFij 068dc73717 Add photoprism 2022-11-10 13:37:50 -08:00
IamTheFij e9f2fae609 Switch mysql to mariadb 2022-11-10 13:37:50 -08:00
IamTheFij 77c2fcc96b Add db bootstrap and more template options to services template 2022-11-10 10:20:53 -08:00
IamTheFij 2bde762902 Use journald for Nomad Docker logging so they can be ingested into Loki 2022-11-10 10:19:51 -08:00
IamTheFij 92fd139263 Update nomad version to 1.4.2 2022-11-10 10:19:22 -08:00
IamTheFij ae5f4d61fb Make consul raft v3 explicit 2022-11-10 10:19:07 -08:00
IamTheFij e707f2a790 Add pi4 host back 2022-11-10 10:18:37 -08:00
IamTheFij 539b9073cb Update permissions for mysql volume 2022-11-10 10:18:28 -08:00
IamTheFij 0e0d2bbcc6 Fix ansible_galaxy target references 2022-11-10 10:18:02 -08:00
IamTheFij 51a0b71bd8 Update recovery scripts 2022-11-10 10:15:30 -08:00
IamTheFij 1fad6b691c Update some metrics 2022-11-07 20:50:18 -08:00
IamTheFij f9d46faae9 Rename backup jobs to be lower case 2022-11-04 09:39:08 -07:00
IamTheFij 931e2b6e00 Make sure grafana mysql dump happens after dir is created 2022-11-03 22:18:04 -07:00
IamTheFij 9d56f6226c Try to reduce concurrent ftp 2022-11-03 22:17:48 -07:00
IamTheFij 39bd8aafaf Move backup jobs to local dir
Makes debugging easier
2022-11-03 22:17:26 -07:00
IamTheFij 779db10abc Add middleware support to service levant template 2022-11-03 15:10:51 -07:00
IamTheFij 5bbb6c494c Fix some formatting 2022-11-03 15:10:09 -07:00
IamTheFij 695567b8aa Add backup job for grafana 2022-11-02 20:30:04 -07:00
IamTheFij 2d63d7e74d Add sqlite backup for lldap 2022-11-02 20:14:25 -07:00
IamTheFij 37e80980bc Refactor ansible to clean root dir 2022-11-02 14:20:09 -07:00
IamTheFij 0996cfbf67 Update hooks 2022-11-02 12:59:32 -07:00
IamTheFij a203067400 Migrate pre-commits from parent repo up to this one 2022-11-02 11:26:52 -07:00
IamTheFij 1a1f243354 Remove query for nomad-clients on backup task
Not used anymore
2022-10-31 15:27:29 -07:00
IamTheFij 73b99f80f5 Go back to hard coded node names for `for_each`
For some reason this worked until it didn't
2022-10-31 15:24:14 -07:00
IamTheFij 25e1dc6566 Rename backup service fixing mysql access 2022-10-31 15:23:42 -07:00
IamTheFij dcfe0510a7 Fix sonarr dl folder 2022-10-31 11:32:09 -07:00
IamTheFij 9f241109c5 Refactor external service definitions 2022-10-28 12:42:28 -07:00
IamTheFij eae80ece7a Increase sonarr memory
Wow, this uses a lot of mem
2022-10-28 12:34:44 -07:00
IamTheFij 45c597b040 Big refactor to split core and services for better ordering 2022-10-27 14:28:34 -07:00
IamTheFij 253069439d Better first run bootstrap 2022-09-27 21:59:37 -07:00
IamTheFij 75bce82b0f Fix typo 2022-09-27 21:29:00 -07:00
IamTheFij b8cfc361fa New playbook to reset server data 2022-09-27 21:28:37 -07:00
IamTheFij 91e64f23eb Improve first run cluster setup 2022-09-27 21:28:02 -07:00
IamTheFij 16f7eaa844 Remove some hosts 2022-09-27 21:27:34 -07:00
IamTheFij 109113048f Add local loopback as dns in resolv.conf 2022-09-26 16:52:59 -07:00
IamTheFij 66bd276626 Increase priority of stateful jobs 2022-09-26 16:40:25 -07:00
IamTheFij 8ab6c2c3e0 Add playbook to recover consul using peers 2022-09-16 16:46:37 -07:00
IamTheFij 567e2d88e4 Add another pi 2022-09-16 16:46:10 -07:00
IamTheFij a80927e5b0 Enable preemption on nomad scheduler 2022-09-16 16:45:26 -07:00
IamTheFij 9d739eef7e Make Nomad media-read volume point to rw nfs 2022-09-16 16:44:40 -07:00