2024-10-11 14:12:05 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
imports = [ ./generated.nix ];
|
|
|
|
|
|
|
|
satellite.cloudflared.at.dip.port = config.satellite.ports."5d-diplomacy";
|
2024-10-11 16:32:48 +02:00
|
|
|
|
2024-10-11 14:12:05 +02:00
|
|
|
virtualisation.oci-containers.containers."5d-diplomacy-frontend".ports = [
|
|
|
|
"${toString config.satellite.ports."5d-diplomacy"}:8080"
|
|
|
|
];
|
2024-10-11 16:32:48 +02:00
|
|
|
|
|
|
|
virtualisation.oci-containers.containers."5d-diplomacy-mssql".volumes =
|
|
|
|
let
|
|
|
|
dataDir = "/persist/state/var/lib/5d-diplomacy";
|
|
|
|
in
|
|
|
|
[
|
|
|
|
"${dataDir}/mssql-data/data:/var/opt/mssql/data:rw"
|
|
|
|
"${dataDir}/mssql-data/log:/var/opt/mssql/log:rw"
|
|
|
|
"${dataDir}/mssql-data/secrets:/var/opt/mssql/secrets:rw"
|
|
|
|
];
|
2024-10-11 14:12:05 +02:00
|
|
|
}
|