[ghost] Adds ghost demo.
This commit is contained in:
16
system/hosts/mcp/containers/ghost.nix
Normal file
16
system/hosts/mcp/containers/ghost.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ 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}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user