setup new host + migrate containers to it
This commit is contained in:
parent
804423319f
commit
0949fbc9c7
12 changed files with 8 additions and 15 deletions
18
nixos/viridian/containers/qbittorrent/default.nix
Normal file
18
nixos/viridian/containers/qbittorrent/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Qbittorrent
|
||||
virtualisation.oci-containers.containers."qbittorrent" = {
|
||||
autoStart = true;
|
||||
image = "cr.hotio.dev/hotio/qbittorrent:release";
|
||||
volumes = [
|
||||
"/srv/containers/qbittorrent:/config"
|
||||
"/srv/data/torrents:/data/torrents"
|
||||
];
|
||||
ports = [
|
||||
"8383:8080"
|
||||
"32372:32372"
|
||||
];
|
||||
extraOptions = ["--network=media-stack"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue