[jobhunt] Adds the container back to the server
This commit is contained in:
@@ -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
|
||||||
|
|||||||
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