[jobhunt] Adds the container back to the server

This commit is contained in:
2025-03-18 12:08:43 -07:00
parent 75467f0c23
commit 98622c1ca4
2 changed files with 28 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
# Additional configuration # Additional configuration
imports = [ imports = [
./containers/grafana.nix ./containers/grafana.nix
./containers/jobhunt.nix
./containers/nextcloud.nix ./containers/nextcloud.nix
./containers/prometheus.nix ./containers/prometheus.nix
./containers/public-homepage.nix ./containers/public-homepage.nix

View 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";
};
};
}