db access for nodered

This commit is contained in:
Lucy Hochkamp 2024-09-15 16:18:28 +02:00
parent cd8418388d
commit 90e0c66a3b
No known key found for this signature in database

View file

@ -157,7 +157,7 @@ in
virtualisation.oci-containers.containers.grafana = {
image = "grafana/grafana-oss:latest";
extraOptions = [ "--network=podman" ];
extraOptions = [ "--network=podman" "--network=db-net" ];
volumes = [
"grafana-data:/var/lib/grafana"
];
@ -168,7 +168,7 @@ in
};
virtualisation.oci-containers.containers.node-red = {
image = "nodered/node-red:latest";
extraOptions = [ "--network=podman" ];
extraOptions = [ "--network=podman" "--network=db-net" ];
volumes = [
"nodered-data:/data"
];