.. | ||
gitea.nix | ||
postgres.nix | ||
readme.md |
Services
Contains files defining services.
Services are of the form:
{ pkgs, lib, ... }: {
name = "name";
config = { ... };
ports = {
tcp = [ 80 ];
udp = [ 111 ];
http = 80;
forward = [ { container = 22; host = 22; proto = "tcp"; } ];
};
hosts = [ "myservice.domain.mjau" ];
volumes = [
{
name = "myservice-storage";
mountPoint = "/var/lib/whatever";
readOnly = false;
};
];
hostConfig = { ... }
}