summary refs log tree commit diff
path: root/host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix
blob: daefba1bb0e686ee0ba0cb56ce1fb4e19c1178f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ conduit, ... }:

{
  privateNetwork = true;
  autoStart = true;
  specialArgs = {
    inherit conduit;
  };
  config =
    {
      lib,
      pkgs,
      conduit,
      ...
    }:
    {
      imports = [
        ../shared.nix
        ./services/nginx.nix
        ./services/conduit.nix
      ];
      networking.useHostResolvConf = true;
      networking.firewall = {
        enable = true;
        allowedTCPPorts = [ 80 ];
      };
    };
  hostAddress = "192.168.100.1";
  localAddress = "192.168.100.15";
}