[jobhunt] Adds the container back to the server
This commit is contained in:
27
system/hosts/mcp/containers/jobhunt.nix
Normal file
27
system/hosts/mcp/containers/jobhunt.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
inherit (import ./lib.nix config) mkContainer;
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers.jobhunt = mkContainer {
|
||||
hostName = "job";
|
||||
image = "docker.havenisms.com/app/jobhunt";
|
||||
port = 3000;
|
||||
dependsOn = [
|
||||
"db"
|
||||
];
|
||||
homepageOpts = {
|
||||
group = "Apps";
|
||||
name = "Job Hunt";
|
||||
icon = "";
|
||||
description = "Job Hunt Log";
|
||||
};
|
||||
volumes = [ ];
|
||||
environment = {
|
||||
DB_HOST = "db";
|
||||
DB_USER = "jobhunt";
|
||||
DB_DATABSE = "jobhunt";
|
||||
DB_PASSWORD = "jobhunt123";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user