Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, globals, lib, ... }: {
|
||||
{
|
||||
config,
|
||||
globals,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.atuin.enable = lib.mkEnableOption "atuin";
|
||||
|
||||
config = lib.mkIf config.atuin.enable {
|
||||
|
@ -34,7 +39,7 @@
|
|||
image = globals.images.atuin;
|
||||
imagePullPolicy = "IfNotPresent";
|
||||
ports.web.containerPort = 8888;
|
||||
args = [ "server" "start" ];
|
||||
args = ["server" "start"];
|
||||
|
||||
env = {
|
||||
ATUIN_HOST.value = "0.0.0.0";
|
||||
|
@ -47,10 +52,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/config";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/config";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
database = {
|
||||
|
@ -67,10 +74,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "database";
|
||||
mountPath = "/var/lib/postgresql/data";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "database";
|
||||
mountPath = "/var/lib/postgresql/data";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue