merge in poseidon configs temporarily
This commit is contained in:
parent
ca8d2c7262
commit
26842b27a6
13 changed files with 685 additions and 0 deletions
25
hosts/servers/poseidon/old/oci-containers/misc.nix
Normal file
25
hosts/servers/poseidon/old/oci-containers/misc.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"open-webui" = {
|
||||
image = "ghcr.io/open-webui/open-webui:main";
|
||||
ports = [
|
||||
"3002:8080/tcp"
|
||||
];
|
||||
volumes = [
|
||||
"/Velaris/Docker/ai/open-webui-conf:/app/backend/data"
|
||||
];
|
||||
};
|
||||
"ollama" = {
|
||||
image = "ollama/ollama";
|
||||
ports = [
|
||||
"11434:11434/tcp"
|
||||
];
|
||||
environment = {
|
||||
NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
NVIDIA_VISIBLE_DEVICES = "all";
|
||||
};
|
||||
extraOptions = [ "--device" "nvidia.com/gpu=all" ];
|
||||
volumes = [
|
||||
"/Velaris/Docker/ai/ollama-conf:/root/.ollama"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue