20 lines
263 B
Markdown
20 lines
263 B
Markdown
|
# Services
|
||
|
|
||
|
TODO: volumes
|
||
|
|
||
|
Contains files defining services.
|
||
|
|
||
|
Services are of the form:
|
||
|
```nix
|
||
|
{ pkgs, ... }: {
|
||
|
name = "name";
|
||
|
config = { ... };
|
||
|
ports = {
|
||
|
tcp = [ 80 ];
|
||
|
udp = [ 111 ];
|
||
|
http = 80;
|
||
|
};
|
||
|
hosts = [ "myservice.domain.mjau" ];
|
||
|
}
|
||
|
```
|