Commit Graph

686 Commits

Author SHA1 Message Date
ce97c4a63c Fix volume map 2022-08-26 21:32:24 -07:00
5afa5c2976 Delete unused Minecraft servers 2022-08-26 21:31:13 -07:00
5566211d6d Add e8 server 2022-08-26 21:29:10 -07:00
4c5314fb09 Update claim token 2022-08-25 12:02:56 -07:00
f6bdf8bee9 Update Plex, remove Tautulli 2022-08-25 11:53:11 -07:00
c147017c68 Typo 2022-08-19 11:06:30 -07:00
2a8063bc2a Remove debug echoes 2022-08-19 10:24:33 -07:00
3c951365e8 Fix for monitoring_exporter-plex
Formatting update for compose down
Formatting update for compose up
2022-08-19 10:22:47 -07:00
e8f23ca200 Init nas_up.sh
Format update for compose_up.sh
Format update for compose_down.sh
2022-08-19 10:21:26 -07:00
75db2268d4 Init nas_down.sh 2022-08-19 10:17:09 -07:00
3e911b3ab1 Temp fix for unintentionally inheritted variables 2022-08-19 10:14:30 -07:00
9811fd6f2f idk man 2022-08-18 11:04:14 -07:00
8d393ccb33 Add parentheses, remove newline 2022-08-18 11:01:48 -07:00
a33c5538e4 Add newline 2022-08-18 11:01:22 -07:00
ee899035d4 Add quotes 2022-08-18 11:01:05 -07:00
c90cf8f668 Add list build logic 2022-08-18 11:00:41 -07:00
8938a19c1d Closer 2022-08-18 10:58:35 -07:00
65270cea45 Toward silence, one step at a time 2022-08-18 10:57:49 -07:00
8af4e2b45a If $MATCH == 0 2022-08-18 10:57:09 -07:00
3f169b98fe Debug echo 2022-08-18 10:55:36 -07:00
fb62308171 Just check $MATCH, don't eval 2022-08-18 10:54:50 -07:00
30eafd57ac Evalutate $MATCH 2022-08-18 10:53:37 -07:00
fbec8e7cde Debug return values 2022-08-18 10:52:31 -07:00
a51de38997 Evaluate command, don't run it 2022-08-18 10:50:47 -07:00
3e6194821a Try again 2022-08-18 10:49:56 -07:00
d73103213b Wasn't actually referencing the variable 2022-08-18 10:48:10 -07:00
d2c3010150 With subshell, all commands returned 1. Try without subshell 2022-08-18 10:47:11 -07:00
d36d86ee89 Debug echo status of last command 2022-08-18 10:46:27 -07:00
511a12333f Grep the variable, not the actual paths 2022-08-18 10:44:53 -07:00
8c4e5d733e Refactor grep'ing 2022-08-18 10:43:59 -07:00
c0f99419c8 Syntax error 2022-08-18 10:39:30 -07:00
1807f08855 Add bool check for nas dependence 2022-08-18 10:38:55 -07:00
95549891d5 Per: https://stackoverflow.com/questions/22101778/how-to-preserve-line-breaks-when-storing-command-output-to-a-variable 2022-08-18 10:36:57 -07:00
8676a34dba Make nas_down.sh executable 2022-08-18 10:35:30 -07:00
1f16f5b967 Add nas mount grep 2022-08-18 10:34:33 -07:00
a920e2d00a Init nas_down.sh (not tested) 2022-08-18 10:32:14 -07:00
58245269c4 #61 Add scrape job for exporter-nvidia 2022-08-11 10:09:31 -07:00
469a5224cc #61 Add required tag 2022-08-11 10:07:41 -07:00
8d4d639940 #61 Remove the redundant sensors exporter 2022-08-11 10:05:49 -07:00
be462d1515 #61 Init exporter-sensors, exporter-nvidia 2022-08-11 09:51:51 -07:00
e1f0362a97 #57 Restrict Qbittorrent to 12G of memory 2022-08-10 09:07:21 -07:00
080a065ab2 Attempt fix typo 2022-08-10 09:03:47 -07:00
178335afc5 #36 Init blank project.env for all services on server 2022-08-09 15:15:11 -07:00
33b63a05d4 #36 Init and implement project.env for wireguard 2022-08-09 15:14:52 -07:00
f152d23a79 #36 Init host.env for server 2022-08-09 15:14:10 -07:00
bf509ac1ec Disable promtail active jobs 2022-08-08 18:27:20 -07:00
6676792ae2 Init promtail 2022-08-08 15:41:03 -07:00
4e1653298c Fix typo 2022-08-08 11:58:58 -07:00
79d931196b #53 Remove unnecessary qbittorrent network 2022-08-08 11:58:02 -07:00
54a919d623 Increase scrape_timeout to 30s 2022-08-08 11:41:35 -07:00
6fe80adcff Set very long scrape interval for exporter-qbittorrent 2022-08-08 11:33:59 -07:00
b696ceadbe Switch exporter to direct-to-container connection with qbittorrent 2022-08-08 11:28:33 -07:00
e391dbcedd Add qbittorrent network for exporter and service 2022-08-08 11:25:45 -07:00
7643645ffb Increase time between scrapes for exporter-qbittorrent 2022-08-08 11:21:40 -07:00
e52d945215 Add https:// to host definition for qbt 2022-08-08 11:16:16 -07:00
c9c8a0fc43 Fix qbittorrent URL 2022-08-08 11:12:52 -07:00
61830585a2 Init exporter-qbittorrent 2022-08-08 11:11:16 -07:00
a1ec728a71 Disable traefik on docker exporter 2022-08-08 00:01:51 -07:00
20eb7115e3 #55 Update calibre-web mount point 2022-08-07 22:05:57 -07:00
29abcb248a Fix tasmota scrape targets 2022-08-07 16:52:01 -07:00
24a5275720 chmod +x compose scripts 2022-08-07 14:53:08 -07:00
348e474854 Add scrape jobs for exporter-docker 2022-08-07 14:50:50 -07:00
9c4d6a677c Init exporter_docker 2022-08-07 14:46:51 -07:00
b1a6e5be1d Fix containers restarting after power loss 2022-08-07 13:16:42 -07:00
5247bee2d9 Re-add Pihole host monitoring 2022-08-06 16:49:55 -07:00
058093de37 Init server compose scripts 2022-08-06 11:04:37 -07:00
aa103af03a Update NAS and Traefik with proper middlewares array syntax 2022-08-06 10:33:23 -07:00
e84819e913 #47 Fix middlewares syntax 2022-08-06 10:31:40 -07:00
78391c5b80 #42 Fix mis-organized middleware 2022-08-06 10:29:40 -07:00
785077dc57 #47 Move Pihole from server to Pi on .22 2022-08-06 10:26:47 -07:00
65d2133f67 Fix typo 2022-08-03 17:16:37 -07:00
69361d0eea Switch to tested-fasted DNS upstream 2022-08-03 17:16:24 -07:00
705bc55744 Add more DNS servers to PiHole 2022-08-03 13:54:59 -07:00
2e938c32c6 Update prometheus for new router port 2022-08-02 23:27:12 -07:00
70229fd7bc Update targets, tighten shorten history, reduce payload size 2022-08-01 21:20:42 -07:00
9fa52e8ac6 Add tracert 1.1.1.1 hops to monitoring 2022-08-01 19:35:17 -07:00
0b5a2076b1 Add exporter-ping scrape config 2022-08-01 19:14:49 -07:00
f4353f3921 Init config for exporter-ping 2022-08-01 19:11:59 -07:00
da92d987ff Init monitoring_exporter-ping 2022-08-01 19:07:26 -07:00
7db59a461e Fix default DNS resolver 2022-07-20 13:18:53 -07:00
dc33857de8 Enable lan-only for vpn 2022-07-20 12:57:38 -07:00
e93191fc70 Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab 2022-07-20 12:57:15 -07:00
66a69c73ec Disable broken authentik for wg-easy 2022-07-20 12:57:01 -07:00
8f53664f5b Update upload.ini 2022-07-20 19:51:28 +00:00
823b61eec4 Update server/config/megan-portfolio/upload.ini, server/config/megan-portfolio/docker-compose.yml 2022-07-20 19:50:14 +00:00
e16c51555f Update new port mapping 2022-07-17 11:04:04 -07:00
e742746d89 Fix missing network declaration 2022-07-17 11:00:01 -07:00
155b01dcac Switch to monitoring Traefik via docker network 2022-07-17 10:58:44 -07:00
216bf5c45c Switch to exporting metrics from pihole via hostname 2022-07-17 10:42:37 -07:00
d9159ca6c8 Add pihole to monitoring network 2022-07-17 10:41:36 -07:00
a13498b44a #39 Update welcome blurb 2022-07-16 23:49:19 -07:00
c14171fbf3 #39 Add welcome blurb 2022-07-16 23:47:31 -07:00
16d7d5866d #39 |
- Remove NVGM
- Add empty jafner.dev category
2022-07-16 23:45:08 -07:00
00d6e5c7de Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab into #39 2022-07-16 23:39:06 -07:00
556603e70a #39 |
- Make jafner.net and www.jafner.net point to homer
2022-07-16 23:38:03 -07:00
5129a0f747 Archive landing, portfolio, and nvgm wordpress instances 2022-07-16 23:34:07 -07:00
ec531d364b Remove subtitle 2022-07-16 23:26:26 -07:00
4f77a14c17 #39 |
- Add socials links
- Delete public cloud section
- Move jafner.tools section to bottom
- Remove all admin-only services
2022-07-16 23:26:12 -07:00
f8d30eed45 Fix typo 2022-07-16 16:27:56 -07:00
f5cafa4e76 Fix typo 2022-07-16 16:18:44 -07:00
7b5ba9b090 Fix container name collision 2022-07-16 16:18:27 -07:00
b5366b7705 Fix typo 2022-07-16 16:17:27 -07:00
162517226e Enable megan-portfolio wordpress 2022-07-16 16:16:55 -07:00
36ae68e371 Switch from fqdn 2022-07-16 16:11:36 -07:00
dc1384cdb8 Add explicit web endpoint 2022-07-16 16:11:03 -07:00
1cf176704a Update creds 2022-07-16 16:07:27 -07:00
2b65327d78 Fix router collision 2022-07-16 15:59:05 -07:00
d0ba855987 Add second nginx instance 2022-07-16 15:57:32 -07:00
cc6ac683c5 Disable SSL on meganmcdonough.net 2022-07-16 15:45:10 -07:00
f41dd3e810 Appease vscode compose linter 2022-07-16 15:45:01 -07:00
19b3311ff2 Switch from wp to nginx for testing dns routing 2022-07-16 15:20:55 -07:00
8df640e050 Update ddclient config 2022-07-16 15:20:37 -07:00
620f936574 Add meganmcdonough.art to ddconf 2022-07-16 15:14:21 -07:00
bead8eb1f2 Create nginx test for test.jafner.dev 2022-07-16 00:46:39 -07:00
4e8b05d583 Enable use=web 2022-07-16 00:43:36 -07:00
d2ddf743c6 Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab 2022-07-16 00:39:38 -07:00
5bce86f18e Delete old ddns 2022-07-16 00:38:59 -07:00
509c89165c Update ddns 2022-07-16 00:38:12 -07:00
a558a96f63 Init megan-portfolio 2022-07-16 00:21:10 -07:00
667f3df7b4 Refactor DDNS to support Google domains (via ddclient) 2022-07-16 00:18:54 -07:00
2b5995ecf1 Update Uptime Kuma and Pihole 2022-07-15 19:24:47 -07:00
b869e743ae #38 Remove uptime kuma from prometheus scraper 2022-07-15 19:14:03 -07:00
45c52fda57 #38 Reorganize Archive and archive Uptime-kuma 2022-07-15 19:10:16 -07:00
71f4b72a01 Switch Traefik scrape target to LAN IP 2022-07-15 19:06:56 -07:00
d04f2252af #37 Switch to LAN IP for scrape IP 2022-07-15 18:49:26 -07:00
1cc818d3fd Update and clean up prometheus.yml 2022-07-15 18:27:29 -07:00
7c3db367a1 Reset Prometheus to 1000:1000 2022-07-15 18:16:54 -07:00
67f205e9c5 Prometheus use default user 2022-07-15 18:10:29 -07:00
98d34118d2 Standardize exporter container naming 2022-07-15 18:09:25 -07:00
49e41fe89e Disable Traefik access logging 2022-07-15 12:11:11 -07:00
7dafac87cf Disable the lan-only@file middleware for autopirate stack 2022-07-15 11:15:07 -07:00
650ba74622 Remove authentik@file middleware from services 2022-07-15 10:56:20 -07:00
cb69083c43 Remove authentik@file middleware from services 2022-07-15 10:56:02 -07:00
e9ce87c684 Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab 2022-07-15 10:52:00 -07:00
5741b8c33e Rename homepage_homer to homer_homer 2022-07-15 10:51:32 -07:00
29deb0af4b Remove Authentik from autopirate stack 2022-07-15 10:50:59 -07:00
f5e1a9860e Run loki as 1000:1000 2022-07-15 00:02:56 -07:00
e1a4b1edcf Add access logging to Traefik 2022-07-14 23:46:34 -07:00
582df413f9 Add keep-file: true to loki driver 2022-07-14 15:22:44 -07:00
e0de2b4963 Remove root from loki 2022-07-14 14:28:38 -07:00
d199ebe1f7 Change path_prefix to loki-logs 2022-07-14 14:28:03 -07:00
a48762a0f7 Update Cloudflare DDNS key 2022-07-14 14:19:01 -07:00
fe2ce31c47 Switch to using common block to define chunks and rules directories 2022-07-14 14:14:21 -07:00
e28bbcc674 Uncomment common config 2022-07-14 14:10:49 -07:00
ac36fb2b3e Explicitly elevate to root 2022-07-14 14:10:08 -07:00
fb81db3336 Disable volume map 2022-07-14 14:07:50 -07:00
851cb52aac Try again 2022-07-14 13:59:43 -07:00
b0b4a65e36 Switch to local_storage_config with /loki-logs 2022-07-14 13:56:26 -07:00
b501fcf020 Remove loki storage binding 2022-07-14 13:47:56 -07:00
45fd10df15 Persist loki log storage 2022-07-14 13:44:43 -07:00
2060584229 Update pihole exporter config 2022-07-14 00:07:54 -07:00
c6498076f5 Set empty password 2022-07-14 00:02:58 -07:00
8c0067071b Add pihole-specific env vars 2022-07-13 23:25:35 -07:00
af7ed80074 Automatically append /admin to requests to the route 2022-07-13 23:06:45 -07:00
e7f6581ced Elevate pihole container runner 2022-07-13 22:58:08 -07:00
958dfbee15 Add missing image 2022-07-13 22:55:31 -07:00
74de951750 Init PiHole 2022-07-13 22:54:57 -07:00
af4e88f4c1 Fix typo 2022-07-13 22:52:52 -07:00
e004dde635 Fix typo 2022-07-13 19:52:06 -07:00
c270a43597 Reset Qbt, autopirate to stable
Use jdl as guinnea pig
2022-07-13 19:49:54 -07:00
d381db8053 Switch to authentik-auth@file service 2022-07-13 19:46:31 -07:00
c3ba396caa Protect autopirate suite with lan-only until authentik is worked out 2022-07-13 19:06:02 -07:00
eebc4b088c Correct missing rule 2022-07-13 19:03:08 -07:00
00885797b3 Add Authentik to all autopirate stack 2022-07-13 16:29:41 -07:00
446d617071 Remove lan-only middleware from Sonarr 2022-07-13 16:20:19 -07:00
088353315a Accidentally added Radarr to authentik, not Sonarr.
Fix that
2022-07-13 16:18:27 -07:00
33f7fcb2bb Add Sonarr to Authentik 2022-07-13 16:16:31 -07:00
181dfa89c6 Update SSO documentation 2022-07-13 16:16:20 -07:00
07e506a1dd Fix typo 2022-07-13 13:53:13 -07:00
241d798f9e #31 Update basic webapp template with new logging instrumentation 2022-07-13 13:40:48 -07:00
54124da9d1 #31 Add Loki logging for all "main" apps
Also converted a few old composes from 4-space indentation to 2-space
Ignores supporting containers like postgres, redis, etc.
2022-07-13 13:35:56 -07:00
0e657d231f Remove redundant labels 2022-07-13 13:12:30 -07:00
a68fd68f41 Rename loki-labels to just labels 2022-07-13 13:11:34 -07:00
97015ca9b5 Add loki-labels as string 2022-07-13 13:11:04 -07:00
ea307ce4af Add loki-timeout as string 2022-07-13 13:10:49 -07:00
8a852bc438 Switch loki-retries to string 2022-07-13 13:10:29 -07:00
a61796c7c8 Add loki-retries 2022-07-13 13:10:13 -07:00
5ea87a5d1f Switch loki-batch-size to string 2022-07-13 13:09:52 -07:00
d7a18cec66 Add loki-batch-size 2022-07-13 13:09:31 -07:00
6109a20277 Isolate loki-url 2022-07-13 13:09:09 -07:00
0e2b6bf3d9 Confirm logging block is responsible for errors 2022-07-13 13:08:42 -07:00
9c2d96b253 Fix typo 2022-07-13 13:08:02 -07:00
77bde24457 Fix typo 2022-07-13 13:07:22 -07:00
7c836b4849 Fix typo 2022-07-13 13:06:22 -07:00
072286d261 Test wg-easy loki logging 2022-07-13 13:00:28 -07:00
9ed2c76fc8 Add log_tags link 2022-07-13 12:51:57 -07:00
3cc35fa4d8 Add docker logging docs 2022-07-13 12:50:39 -07:00
af1e3a3571 Update Loki docs 2022-07-13 12:14:38 -07:00
df054da499 Disable auto-start for all containers. (Set all restart: "no") 2022-07-13 10:47:27 -07:00
600b28b859 Add to Authentik documentation 2022-07-13 00:27:02 -07:00
98f97bb316 Implement second gitlab runner 2022-07-12 17:02:18 -07:00
4b2fc18d8e Switch to master branch 2022-07-12 16:47:44 -07:00
a2f0496399 Switch to nodb branch 2022-07-12 15:47:26 -07:00
24041a4476 Archive xbackbone 2022-07-12 10:30:56 -07:00
4c94bed815 See previous commit 2022-07-12 01:22:16 -07:00
24cb55cba9 Re-enable persistent volume 2022-07-12 01:20:22 -07:00
89ab3610f2 Switch dev to new image 2022-07-12 01:19:14 -07:00
05d0af4d42 services -> service 2022-07-12 01:04:31 -07:00
664322d274 Fix field services to service 2022-07-12 01:02:46 -07:00
1dcb89211c Init auth to qbt 2022-07-12 01:01:15 -07:00