911d3ae459
Debug echo
2022-08-18 10:55:36 -07:00
fde7d60e76
Just check $MATCH, don't eval
2022-08-18 10:54:50 -07:00
731d8226e7
Evalutate $MATCH
2022-08-18 10:53:37 -07:00
2dbf90a5ab
Debug return values
2022-08-18 10:52:31 -07:00
79f468ae1a
Evaluate command, don't run it
2022-08-18 10:50:47 -07:00
b8971fa34b
Try again
2022-08-18 10:49:56 -07:00
a4cdea25ca
Wasn't actually referencing the variable
2022-08-18 10:48:10 -07:00
296a157173
With subshell, all commands returned 1. Try without subshell
2022-08-18 10:47:11 -07:00
6b71554d5b
Debug echo status of last command
2022-08-18 10:46:27 -07:00
0ac9e9dae3
Grep the variable, not the actual paths
2022-08-18 10:44:53 -07:00
ad53f23a63
Refactor grep'ing
2022-08-18 10:43:59 -07:00
10e9ad34f7
Syntax error
2022-08-18 10:39:30 -07:00
f58ea79846
Add bool check for nas dependence
2022-08-18 10:38:55 -07:00
b7b489da51
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
15307d8fae
Make nas_down.sh executable
2022-08-18 10:35:30 -07:00
d147e5330e
Add nas mount grep
2022-08-18 10:34:33 -07:00
9260353383
Init nas_down.sh (not tested)
2022-08-18 10:32:14 -07:00
84e31ff53a
#61 Add scrape job for exporter-nvidia
2022-08-11 10:09:31 -07:00
67bd1e9adf
#61 Add required tag
2022-08-11 10:07:41 -07:00
1dadff9406
#61 Remove the redundant sensors exporter
2022-08-11 10:05:49 -07:00
de9349a7bd
#61 Init exporter-sensors, exporter-nvidia
2022-08-11 09:51:51 -07:00
37bd5f8979
#57 Restrict Qbittorrent to 12G of memory
2022-08-10 09:07:21 -07:00
d4ed94af36
Attempt fix typo
2022-08-10 09:03:47 -07:00
f4616cf5b6
#36 Init blank project.env for all services on server
2022-08-09 15:15:11 -07:00
9802cecd43
#36 Init and implement project.env for wireguard
2022-08-09 15:14:52 -07:00
629ecf75a7
#36 Init host.env for server
2022-08-09 15:14:10 -07:00
566de201b7
Disable promtail active jobs
2022-08-08 18:27:20 -07:00
b5403f7e6a
Init promtail
2022-08-08 15:41:03 -07:00
783803a416
Fix typo
2022-08-08 11:58:58 -07:00
7e083f41d9
#53 Remove unnecessary qbittorrent network
2022-08-08 11:58:02 -07:00
8a2b7c6a4b
Increase scrape_timeout to 30s
2022-08-08 11:41:35 -07:00
4969dfe2a8
Set very long scrape interval for exporter-qbittorrent
2022-08-08 11:33:59 -07:00
30d82a7964
Switch exporter to direct-to-container connection with qbittorrent
2022-08-08 11:28:33 -07:00
ae626ab95a
Add qbittorrent network for exporter and service
2022-08-08 11:25:45 -07:00
a02adab2fb
Increase time between scrapes for exporter-qbittorrent
2022-08-08 11:21:40 -07:00
12388ec29f
Add https:// to host definition for qbt
2022-08-08 11:16:16 -07:00
d3bad80ba2
Fix qbittorrent URL
2022-08-08 11:12:52 -07:00
6c12f2658f
Init exporter-qbittorrent
2022-08-08 11:11:16 -07:00
0c26c74ee4
Disable traefik on docker exporter
2022-08-08 00:01:51 -07:00
70e8afaaad
#55 Update calibre-web mount point
2022-08-07 22:05:57 -07:00
cd4f63e6d3
Fix tasmota scrape targets
2022-08-07 16:52:01 -07:00
ba8b12ddca
chmod +x compose scripts
2022-08-07 14:53:08 -07:00
589fdf8744
Add scrape jobs for exporter-docker
2022-08-07 14:50:50 -07:00
cdcf289a09
Init exporter_docker
2022-08-07 14:46:51 -07:00
b19777377b
Fix containers restarting after power loss
2022-08-07 13:16:42 -07:00
556b6097e8
Re-add Pihole host monitoring
2022-08-06 16:49:55 -07:00
130594fb8c
Init server compose scripts
2022-08-06 11:04:37 -07:00
21e7456971
Update NAS and Traefik with proper middlewares array syntax
2022-08-06 10:33:23 -07:00
a37eacfb95
#47 Fix middlewares syntax
2022-08-06 10:31:40 -07:00
f47a4656fd
#42 Fix mis-organized middleware
2022-08-06 10:29:40 -07:00
90435454c9
#47 Move Pihole from server to Pi on .22
2022-08-06 10:26:47 -07:00
134fd060c6
Fix typo
2022-08-03 17:16:37 -07:00
f7f787ba8d
Switch to tested-fasted DNS upstream
2022-08-03 17:16:24 -07:00
4a73bf5eb2
Add more DNS servers to PiHole
2022-08-03 13:54:59 -07:00
7df3f27df3
Update prometheus for new router port
2022-08-02 23:27:12 -07:00
11c1e174a7
Update targets, tighten shorten history, reduce payload size
2022-08-01 21:20:42 -07:00
9a58dc5f80
Add tracert 1.1.1.1 hops to monitoring
2022-08-01 19:35:17 -07:00
93e44be39e
Add exporter-ping scrape config
2022-08-01 19:14:49 -07:00
798529be0b
Init config for exporter-ping
2022-08-01 19:11:59 -07:00
209f0abb64
Init monitoring_exporter-ping
2022-08-01 19:07:26 -07:00
81292da940
Fix default DNS resolver
2022-07-20 13:18:53 -07:00
9a531fd2d7
Enable lan-only for vpn
2022-07-20 12:57:38 -07:00
02a086b71f
Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab
2022-07-20 12:57:15 -07:00
391b379494
Disable broken authentik for wg-easy
2022-07-20 12:57:01 -07:00
8283541729
Update upload.ini
2022-07-20 19:51:28 +00:00
ace4efe499
Update server/config/megan-portfolio/upload.ini, server/config/megan-portfolio/docker-compose.yml
2022-07-20 19:50:14 +00:00
1e9f7d74b2
Update new port mapping
2022-07-17 11:04:04 -07:00
1b28030963
Fix missing network declaration
2022-07-17 11:00:01 -07:00
f34af731e6
Switch to monitoring Traefik via docker network
2022-07-17 10:58:44 -07:00
b523049c15
Switch to exporting metrics from pihole via hostname
2022-07-17 10:42:37 -07:00
c038d2c5f4
Add pihole to monitoring network
2022-07-17 10:41:36 -07:00
5238229a94
#39 Update welcome blurb
2022-07-16 23:49:19 -07:00
5134ba2cbb
#39 Add welcome blurb
2022-07-16 23:47:31 -07:00
a6110ffe19
#39 |
...
- Remove NVGM
- Add empty jafner.dev category
2022-07-16 23:45:08 -07:00
8d98453b0f
Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab into #39
2022-07-16 23:39:06 -07:00
4b27e82d37
#39 |
...
- Make jafner.net and www.jafner.net point to homer
2022-07-16 23:38:03 -07:00
66d0d28cc0
Archive landing, portfolio, and nvgm wordpress instances
2022-07-16 23:34:07 -07:00
3904ad1777
Remove subtitle
2022-07-16 23:26:26 -07:00
18a8aea176
#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
561d87fa74
Fix typo
2022-07-16 16:27:56 -07:00
3e0961a1ea
Fix typo
2022-07-16 16:18:44 -07:00
38a6c6413e
Fix container name collision
2022-07-16 16:18:27 -07:00
d733eab053
Fix typo
2022-07-16 16:17:27 -07:00
c806ed328b
Enable megan-portfolio wordpress
2022-07-16 16:16:55 -07:00
161b667647
Switch from fqdn
2022-07-16 16:11:36 -07:00
a911d46271
Add explicit web endpoint
2022-07-16 16:11:03 -07:00
fbc62e37b7
Update creds
2022-07-16 16:07:27 -07:00
a532a1f119
Fix router collision
2022-07-16 15:59:05 -07:00
ab2bb4042a
Add second nginx instance
2022-07-16 15:57:32 -07:00
0c88176a1c
Disable SSL on meganmcdonough.net
2022-07-16 15:45:10 -07:00
36dff15e81
Appease vscode compose linter
2022-07-16 15:45:01 -07:00
2f73a171c1
Switch from wp to nginx for testing dns routing
2022-07-16 15:20:55 -07:00
6595c29ac1
Update ddclient config
2022-07-16 15:20:37 -07:00
0f2390bdaa
Add meganmcdonough.art to ddconf
2022-07-16 15:14:21 -07:00
f1bcc18912
Create nginx test for test.jafner.dev
2022-07-16 00:46:39 -07:00
63c921e386
Enable use=web
2022-07-16 00:43:36 -07:00
082f5e0fde
Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab
2022-07-16 00:39:38 -07:00
1edd98e001
Delete old ddns
2022-07-16 00:38:59 -07:00
cb02087b45
Update ddns
2022-07-16 00:38:12 -07:00
5a02a3ac15
Init megan-portfolio
2022-07-16 00:21:10 -07:00
e3d564e497
Refactor DDNS to support Google domains (via ddclient)
2022-07-16 00:18:54 -07:00
04d413974f
Update Uptime Kuma and Pihole
2022-07-15 19:24:47 -07:00
4118cd951c
#38 Remove uptime kuma from prometheus scraper
2022-07-15 19:14:03 -07:00
753025871d
#38 Reorganize Archive and archive Uptime-kuma
2022-07-15 19:10:16 -07:00
80e54525e2
Switch Traefik scrape target to LAN IP
2022-07-15 19:06:56 -07:00
faea9e8f05
#37 Switch to LAN IP for scrape IP
2022-07-15 18:49:26 -07:00
a90ae2b6e8
Update and clean up prometheus.yml
2022-07-15 18:27:29 -07:00
43a97d4bab
Reset Prometheus to 1000:1000
2022-07-15 18:16:54 -07:00
04a3ce81cf
Prometheus use default user
2022-07-15 18:10:29 -07:00
a21a253cf6
Standardize exporter container naming
2022-07-15 18:09:25 -07:00
813d00966e
Disable Traefik access logging
2022-07-15 12:11:11 -07:00
e8aab97616
Disable the lan-only@file middleware for autopirate stack
2022-07-15 11:15:07 -07:00
8cbd0fbcf0
Remove authentik@file middleware from services
2022-07-15 10:56:20 -07:00
dc73478062
Remove authentik@file middleware from services
2022-07-15 10:56:02 -07:00
0a1182dc4e
Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab
2022-07-15 10:52:00 -07:00
570950cb7e
Rename homepage_homer to homer_homer
2022-07-15 10:51:32 -07:00
f0b316432e
Remove Authentik from autopirate stack
2022-07-15 10:50:59 -07:00
a1f8e43213
Run loki as 1000:1000
2022-07-15 00:02:56 -07:00
4af3f5c2e9
Add access logging to Traefik
2022-07-14 23:46:34 -07:00
29bb9c150d
Add keep-file: true to loki driver
2022-07-14 15:22:44 -07:00
e2dbd1b89f
Remove root from loki
2022-07-14 14:28:38 -07:00
e22f94631e
Change path_prefix to loki-logs
2022-07-14 14:28:03 -07:00
901a06c9cd
Switch to using common block to define chunks and rules directories
2022-07-14 14:14:21 -07:00
67772fb8e3
Uncomment common config
2022-07-14 14:10:49 -07:00
a49e27a3e8
Explicitly elevate to root
2022-07-14 14:10:08 -07:00
ba41bf6bf8
Disable volume map
2022-07-14 14:07:50 -07:00
cb60b422ff
Try again
2022-07-14 13:59:43 -07:00
74abe421bb
Switch to local_storage_config with /loki-logs
2022-07-14 13:56:26 -07:00
a791f2ed47
Remove loki storage binding
2022-07-14 13:47:56 -07:00
3b640c0f17
Persist loki log storage
2022-07-14 13:44:43 -07:00
02f0e42781
Update pihole exporter config
2022-07-14 00:07:54 -07:00
253a1cec66
Set empty password
2022-07-14 00:02:58 -07:00
ca1604a200
Add pihole-specific env vars
2022-07-13 23:25:35 -07:00
2ed769d0b2
Automatically append /admin to requests to the route
2022-07-13 23:06:45 -07:00
73d38f136d
Elevate pihole container runner
2022-07-13 22:58:08 -07:00
54a3a4fcd4
Add missing image
2022-07-13 22:55:31 -07:00
9d7670e323
Init PiHole
2022-07-13 22:54:57 -07:00
5f8770b6ee
Fix typo
2022-07-13 22:52:52 -07:00
415c1cda52
Fix typo
2022-07-13 19:52:06 -07:00
590ecfdc2a
Reset Qbt, autopirate to stable
...
Use jdl as guinnea pig
2022-07-13 19:49:54 -07:00
5bdb3ecbbc
Switch to authentik-auth@file service
2022-07-13 19:46:31 -07:00
f77afe2f44
Protect autopirate suite with lan-only until authentik is worked out
2022-07-13 19:06:02 -07:00
ef352cb8b7
Correct missing rule
2022-07-13 19:03:08 -07:00
88bbd9e50a
Add Authentik to all autopirate stack
2022-07-13 16:29:41 -07:00
e05630789e
Remove lan-only middleware from Sonarr
2022-07-13 16:20:19 -07:00
17b27624bc
Accidentally added Radarr to authentik, not Sonarr.
...
Fix that
2022-07-13 16:18:27 -07:00
5c0ed2434e
Add Sonarr to Authentik
2022-07-13 16:16:31 -07:00
c03211f591
Update SSO documentation
2022-07-13 16:16:20 -07:00
a3f25f1709
Fix typo
2022-07-13 13:53:13 -07:00
3253145881
#31 Update basic webapp template with new logging instrumentation
2022-07-13 13:40:48 -07:00
b67ef90d3c
#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
871c91fe08
Remove redundant labels
2022-07-13 13:12:30 -07:00
917cb6af4c
Rename loki-labels to just labels
2022-07-13 13:11:34 -07:00
a24bd2e90c
Add loki-labels as string
2022-07-13 13:11:04 -07:00
cb332d0520
Add loki-timeout as string
2022-07-13 13:10:49 -07:00
90243b5907
Switch loki-retries to string
2022-07-13 13:10:29 -07:00
6b1922b1e7
Add loki-retries
2022-07-13 13:10:13 -07:00
9ac7674e1a
Switch loki-batch-size to string
2022-07-13 13:09:52 -07:00
949a5d8c25
Add loki-batch-size
2022-07-13 13:09:31 -07:00
60b71e7f8f
Isolate loki-url
2022-07-13 13:09:09 -07:00
635a666c70
Confirm logging block is responsible for errors
2022-07-13 13:08:42 -07:00
ece50f7c04
Fix typo
2022-07-13 13:08:02 -07:00
2c6802f62e
Fix typo
2022-07-13 13:07:22 -07:00
c76d85bc41
Fix typo
2022-07-13 13:06:22 -07:00
a3732d19e2
Test wg-easy loki logging
2022-07-13 13:00:28 -07:00
a9fe279a0a
Add log_tags link
2022-07-13 12:51:57 -07:00
37494800ef
Add docker logging docs
2022-07-13 12:50:39 -07:00
8bd6573146
Update Loki docs
2022-07-13 12:14:38 -07:00
d419cc2014
Disable auto-start for all containers. (Set all restart: "no")
2022-07-13 10:47:27 -07:00
df2eeec270
Add to Authentik documentation
2022-07-13 00:27:02 -07:00
70e5681db2
Implement second gitlab runner
2022-07-12 17:02:18 -07:00
380edd8323
Switch to master branch
2022-07-12 16:47:44 -07:00
859f327929
Switch to nodb branch
2022-07-12 15:47:26 -07:00
311d593d6a
Archive xbackbone
2022-07-12 10:30:56 -07:00
3f4bf88682
See previous commit
2022-07-12 01:22:16 -07:00
8373dd6b6b
Re-enable persistent volume
2022-07-12 01:20:22 -07:00
367d0462ce
Switch dev to new image
2022-07-12 01:19:14 -07:00
eca1d27e23
services -> service
2022-07-12 01:04:31 -07:00
6bb4ea2575
Fix field services to service
2022-07-12 01:02:46 -07:00
2c561859d4
Init auth to qbt
2022-07-12 01:01:15 -07:00
2e50e7fe8e
Disable config persistence
2022-07-12 00:03:44 -07:00
650d32d57b
Test security headers
2022-07-11 21:44:37 -07:00
5083d5e127
Add X-Scheme: https to security headers
2022-07-11 21:44:01 -07:00
c676aba109
Try again
2022-07-11 14:07:10 -07:00
4f39fa2614
Switch to customResponseHeaders
2022-07-11 14:03:34 -07:00
86cfb5807c
Switch to customerRequestHeaders
2022-07-11 14:02:19 -07:00
8bcecc602a
Fix dev not being on network
2022-07-11 14:01:31 -07:00
6569093d8e
Restore securityheaders
...
Single-variable testSchemeHeaders
2022-07-11 13:15:57 -07:00
8d87c81512
Remove test headers
2022-07-11 12:36:43 -07:00
d478c38401
Delete testSchemeHeaders, instead update securityHeaders
2022-07-11 12:36:26 -07:00
bab62f910b
Add custom request headers
2022-07-11 11:25:14 -07:00
079ee7decc
Fix for:
...
time="2022-07-11T18:01:05Z" level=error msg="Unable to obtain ACME certificate for domains \"loki-monitoring\": unable to generate a certificate for the domains [loki-monitoring]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \"loki-monitoring\": Domain name needs at least one dot" ACME CA="https://acme-v02.api.letsencrypt.org/directory " routerName=prometheus@docker rule="Host(`loki-monitoring`)" providerName=lets-encrypt.acme
2022-07-11 11:02:21 -07:00
f4bdeff5a7
Add testSchemeHeaders for passing X-Scheme: https
2022-07-11 11:00:37 -07:00
7706e90fc3
Switch to correct-er image
2022-07-11 10:51:28 -07:00
6253e4daa2
Switch to correct image
2022-07-11 10:50:11 -07:00
c71c3c5977
Update calibre-web dev to new image
2022-07-10 23:04:17 -07:00
cebf1c8509
Disable authentik middleware for dev.calibre-web
2022-07-10 16:36:31 -07:00
a11d6e55e1
Add authentik to prometheus
2022-07-10 16:04:10 -07:00
07985a94e6
Fix overlapping router name
2022-07-10 16:01:15 -07:00
fdf510bcc9
Increase max file size to 40GB
2022-07-09 23:43:57 -07:00