nixos-configs/configurations/nos/modules/docker/hauk/compose.nix

18 lines
410 B
Nix
Raw Normal View History

rwDataDir: {pkgs, ...}: {
virtualisation.docker.compose."hauk" = {
networks.proxy_net = {external = true;};
2024-02-28 12:45:17 -05:00
services."hauk" = {
image = pkgs.callPackage ./images/hauk.nix pkgs;
restart = "always";
ports = ["3003:80"];
networks = ["proxy_net"];
volumes = ["${./config.php}:/etc/hauk/config.php:ro"];
};
2024-02-28 12:45:17 -05:00
};
# For accurate stack trace
_file = ./compose.nix;
2024-02-28 12:45:17 -05:00
}