17 lines
355 B
Nix
17 lines
355 B
Nix
{ config, ... }:
|
|
let
|
|
inherit (import ./lib.nix config) mkContainer terakoda;
|
|
in
|
|
{
|
|
virtualisation.oci-containers.containers.ghost = mkContainer rec {
|
|
image = "ghost:5";
|
|
hostName = "ghost";
|
|
domain = terakoda;
|
|
port = 2368;
|
|
environment = {
|
|
"NODE_ENV" = "development";
|
|
"url" = "https://${hostName}.${domain}";
|
|
};
|
|
};
|
|
}
|