refactor containers
This commit is contained in:
parent
1d23c89f58
commit
2a15f00fa1
11 changed files with 195 additions and 174 deletions
23
nixos/viridian/containers/qbittorrent.nix
Normal file
23
nixos/viridian/containers/qbittorrent.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
# # Open-source software alternative to µTorrent
|
||||
qbittorrent = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/hotio/qbittorrent:release-4.6.0";
|
||||
ports = [
|
||||
"8080:8080/tcp" # WebUI
|
||||
"32372:32372/tcp" # Transport protocol
|
||||
];
|
||||
volumes = [
|
||||
# Seedbox
|
||||
"/srv/multimedia/torrents:/data/torrents:rw"
|
||||
"/srv/containers/qbittorrent:/config:rw"
|
||||
];
|
||||
extraOptions = [
|
||||
"--network=media-stack"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue