Commit Graph

14 Commits

Author SHA1 Message Date
92db86a3cc
Manage docker containers using guix via oci-container-service/s
* .guix/rekahsoft/guix-config/vms/dash0-home-rekahsoft-ca.scm: Run grafana using the
oci-container-service.
* .guix/rekahsoft/guix-config/vms/git0-home-rekahsoft-ca.scm: Run gitea using the
oci-image-container-service.
* .guix/rekahsoft/guix-config/vms/my0-home-rekahsoft-ca.scm: Run organizr using the
oci-image-container-service.
* .guix/rekahsoft/guix-config/vms/prom0-home-rekahsoft-ca.scm: Run prometheus using the
oci-image-container-service.
* .guix/rekahsoft/guix-config/vms/searx0-home-rekahsoft-ca.scm: Run searx using the
oci-image-container-service.
* unguix/cloud0-home-rekahsoft-ca/nextcloud.sh: Removed as nextcloud is not longer in use.
* unguix/**.sh: Removed unneeded docker run scripts.
2024-09-22 17:47:09 -04:00
6f72f5b2ec
unguix: Add gitea runner setup 2024-01-02 22:54:26 -05:00
4ea84b04fa
loki.home.rekahsoft.ca: Setup long term storage for logs 2023-04-02 08:56:49 -04:00
d86955b433
unguix/loki-home-rekahsoft-ca/loki.sh: Removed file in preference of docker-compose 2023-04-02 08:02:27 -04:00
1d9e913cca
loki-home-rekahsoft-ca: Use docker-compose for promtail, rsyslog and loki
* unguix/loki-home-rekahsoft-ca/loki.sh: Remove /var/log volume (related change in promtail-config.yaml). This matches the docker-compose.yaml file introduced in this commit.

* unguix/loki-home-rekahsoft-ca/rsyslog.conf: Correct omfwd action target. Now that docker-compose is being used, and both the promtail and rsyslog containers are in the same non-default bridge network, we can depend on container dns resolution to handle the fact that promtail's ip is dynamic.

* unguix/loki-home-rekahsoft-ca/promtail-config.yaml (scrape_configs): Remove system /var/log job (its not necessary now that syslog is setup, and was primarily there for testing purposes in the first place).

* unguix/loki-home-rekahsoft-ca/docker-compose.yaml: New file; depreciates loki.sh. This enables correcting an issue with rsyslog configuration referencing the correct docker instance of promtail.
2023-04-01 18:51:01 -04:00
6ce18190ff
rekahsoft: Proof-of-concept loki logging improvements and upgrade
* unguix/loki-home-rekahsoft-ca/rsyslog.conf: rsyslog configuration used for syslog aggreator

* unguix/loki-home-rekahsoft-ca/promtail-config.yaml (scrape_configs): Add syslog scape configuration

* unguix/loki-home-rekahsoft-ca/loki.sh: Add rsyslog which acts as an syslog aggregator in front of promtail

* unguix/loki-home-rekahsoft-ca/loki-config.yaml (ingester): Add 'wal' (required after upgrade)
2023-04-01 00:52:44 -04:00
2c31aa981a
unguix/prom0-home-rekahsoft-ca/prometheus.sh: Persist metrics
Adjust folder structure of bind mounts so metrics collected by prometheus are persisted
between container removals.

Note: the directory /var/lib/prometheus/data must be owned by `nobody:nogroup` for this to
work
2023-03-04 16:04:19 -05:00
8c65c1c57d
unguix/prom0-home-rekahsoft-ca/prometheus.sh: Update prometheus
This sets the version of prometheus moving forward. Prior to this, version 2.22.0 was
deployed.
2023-03-04 15:34:02 -05:00
5fd8216749
unguix/vault0-home-rekahsoft-ca/vaultwarden.sh: Update 1.23.0 -> 1.27.0 2023-02-26 14:27:11 -05:00
9e550ef30f
unguix/git0-home-rekahsoft-ca/gitea.sh: Update 1.15.6 -> 1.18.5 2023-02-26 14:26:18 -05:00
67c0922ddf
unguix/dash0-home-rekahsoft-ca/grafana.sh: Update 8.1.5 -> 9.3.6 2023-02-26 14:21:44 -05:00
8625202481
unguix/my0-home-rekahsoft-ca: Add organizr.sh docker start script 2022-07-02 22:15:04 -04:00
0106a2745b
unguix: prometheus.yml: Update prometheus configuration; add new vms 2022-07-02 22:08:57 -04:00
acaa20d632
Initial commit 2022-03-20 22:31:46 -04:00