nixos-configs/configurations/nos/modules/docker/hauk/compose.nix
matt1432 42ca2912c7
All checks were successful
Discord / discord commits (push) Has been skipped
feat(docker): khepri -> nixos-docker-compose
2025-01-30 23:25:25 -05:00

17 lines
410 B
Nix

rwDataDir: {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;
}