blob: 26a978181ba259d3d39ce342f2e4264f44ba5543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
config,
lib,
pkgs,
...
}:
{
virtualisation.oci-containers.containers = {
acc-server = {
image = "docker.io/grimsi/accserver:latest";
autoStart = true;
volumes = [ "/var/lib/acc-server:/opt/server" ];
ports = [
"178.63.224.10:9231:9231/udp"
"178.63.224.10:9232:9232/tcp"
];
environment = { };
};
};
networking.firewall.allowedTCPPorts = [ 9232 ];
networking.firewall.allowedUDPPorts = [ 9231 ];
}
|