mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-29 22:51:11 +03:00
12 lines
348 B
Nix
12 lines
348 B
Nix
{
|
|
docker-compose.services.webserver = { pkgs, ... }: {
|
|
nixos.useInit = true;
|
|
nixos.configuration.services.nginx.enable = true;
|
|
nixos.configuration.services.nginx.virtualHosts.localhost.root = "${pkgs.nix.doc}/share/doc/nix/manual";
|
|
service.useHostStore = true;
|
|
service.ports = [
|
|
"8000:80" # host:container
|
|
];
|
|
};
|
|
}
|