nixos-configs/configurations/nos/modules/docker/hauk/compose.nix
matt1432 f481168458
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(docker): share more vars between compose.nix files
2025-02-15 12:16:15 -05:00

17 lines
406 B
Nix

{...}: {pkgs, ...}: {
virtualisation.docker.compose."hauk" = {
networks.proxy_net = {external = true;};
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"];
};
};
# For accurate stack trace
_file = ./compose.nix;
}