Add InfluxDB
All checks were successful
ShellCheck / shellcheck (push) Successful in 18s

This commit is contained in:
Mathieu Strypsteen 2024-08-20 21:45:39 +02:00
parent 24298d3fe1
commit 0be9c20678
Signed by: mathieu
GPG key ID: 782A42E461BC6824
6 changed files with 13 additions and 4 deletions

View file

@ -1,7 +1,7 @@
FROM quay.io/fedora/fedora-toolbox:40
RUN dnf up -y
RUN dnf install -y bash-color-prompt clang gcc hyperfine libvirt llvm mtools nodejs-npm openssl-devel parted poetry postgresql-server python3-ipykernel python3-pip qemu-system-x86-core rustup systemd-container vim-enhanced
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.91.1/code-server-4.91.1-amd64.rpm
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.92.2/code-server-4.92.2-amd64.rpm
RUN mkdir /etc/systemd/system/user@.service.d
RUN mkdir /var/lib/systemd/linger
RUN touch /var/lib/systemd/linger/coder

View file

@ -18,13 +18,11 @@ pref("cookiebanners.service.mode", 1);
pref("cookiebanners.service.mode.privateBrowsing", 1);
pref("devtools.theme", "dark");
pref("dom.private-attribution.submission.enabled", false);
pref("dom.security.https_only_mode", true);
pref("extensions.getAddons.discovery.api_url", "");
pref("extensions.htmlaboutaddons.recommendations.enabled", false);
pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true);
pref("middlemouse.paste", false);
pref("network.IDN_show_punycode", true);
pref("network.http.referer.XOriginTrimmingPolicy", 2);
pref("network.trr.excluded-domains", "strypsteen.com");
pref("permissions.manager.defaultsUrl", "");
pref("privacy.donottrackheader.enabled", true);

View file

@ -22,6 +22,7 @@
"URL": "about:blank",
"Locked": true
},
"HttpsOnlyMode": "force_enabled",
"NewTabPage": false,
"NoDefaultBookmarks": true,
"PasswordManagerEnabled": false,

View file

@ -0,0 +1,8 @@
[Container]
Image=cgr.dev/chainguard/influxdb
Volume=influxdb.volume:/var/lib/influxdb2:U,Z
Tmpfs=/home/influxdb/.influxdbv2
PublishPort=8086:8086
AutoUpdate=registry
[Install]
WantedBy=multi-user.target

View file

@ -62,7 +62,9 @@ set service dns forwarding allow-from 192.168.0.0/16
set service dns forwarding allow-from 10.255.0.0/16
set service tftp-server directory /config/tftp
set service tftp-server listen-address 192.168.253.1
set service monitoring telegraf prometheus-client
set service monitoring telegraf influxdb url http://home.strypsteen.com
set service monitoring telegraf influxdb bucket vyos
set service monitoring telegraf influxdb authentication organization metrics
set nat source rule 1 outbound-interface name eth0
set nat source rule 1 translation address masquerade