summaryrefslogtreecommitdiff
path: root/modules/server/virtualisation/containers/whirl.nix
blob: f910bf94df2e0eb5f60d592bebcda2882fa01e0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, ... }:
{
  networking.firewall.allowedTCPPorts = [
    5673
    6650
  ];

  virtualisation.oci-containers.containers.whirl = {
    inherit (config.modules.containers) extraOptions;

    image = "fuwn/whirl";
    autoStart = true;
    volumes = [ "/mnt/docker/whirl:/.whirl" ];

    ports = [
      "5673:5673"
      "6650:6650"
    ];
  };
}