-ollama AMD fix, not needed anymore
This commit is contained in:
@ -10,6 +10,9 @@
|
||||
littlelink-m3tam3re = {
|
||||
file = ../../secrets/littlelink-m3tam3re.age;
|
||||
};
|
||||
restreamer-env = {
|
||||
file = ../../secrets/restreamer-env.age;
|
||||
};
|
||||
searx = {
|
||||
file = ../../secrets/searx.age;
|
||||
};
|
||||
|
@ -3,6 +3,7 @@
|
||||
./baserow.nix
|
||||
./ghost.nix
|
||||
./littlelink.nix
|
||||
./restreamer.nix
|
||||
];
|
||||
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
|
||||
if ! /run/current-system/sw/bin/podman network exists web; then
|
||||
|
26
hosts/m3-atlas/services/containers/restreamer.nix
Normal file
26
hosts/m3-atlas/services/containers/restreamer.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{config, ...}: {
|
||||
virtualisation.oci-containers.containers."restreamer" = {
|
||||
image = "docker.io/datarhei/restreamer:latest";
|
||||
environmentFiles = [config.age.secrets.restreamer-env.path];
|
||||
ports = ["127.0.0.1:3006:8080" "1935:1935" "1936:1936"];
|
||||
volumes = ["restreamer_data:/restreamer/db"];
|
||||
extraOptions = ["--add-host=postgres:10.89.0.1" "--ip=10.89.0.13" "--network=web"];
|
||||
};
|
||||
# Traefik configuration specific to baserow
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.restreamer.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:3006/";
|
||||
}
|
||||
];
|
||||
|
||||
routers.restreamer = {
|
||||
rule = "Host(`stream.m3tam3re.com`)";
|
||||
tls = {
|
||||
certResolver = "godaddy";
|
||||
};
|
||||
service = "restreamer";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
@ -48,10 +48,4 @@
|
||||
podman.enable = true;
|
||||
virtualisation.enable = true;
|
||||
};
|
||||
services.ollama = {
|
||||
environmentVariables = {
|
||||
HCC_AMDGPU_TARGET = "gfx1100";
|
||||
};
|
||||
rocmOverrideGfx = "11.0.0";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user