From 9948a78e2998555cdceecb9541571574bd842182 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Tue, 30 Jan 2024 14:29:55 -0500 Subject: [PATCH] Add WCH Stories app service and load balancer --- configuration.nix | 1 + services/default.nix | 6 ++++++ services/load-balancer.nix | 4 ++++ services/wch-app.nix | 10 ++++++++++ 4 files changed, 21 insertions(+) create mode 100644 services/default.nix create mode 100644 services/load-balancer.nix create mode 100644 services/wch-app.nix diff --git a/configuration.nix b/configuration.nix index aa87acb..da6d561 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,6 +11,7 @@ ./common ./common/server ./common/users/scott + ./services ]; boot.loader = { diff --git a/services/default.nix b/services/default.nix new file mode 100644 index 0000000..0295bea --- /dev/null +++ b/services/default.nix @@ -0,0 +1,6 @@ +{...}: { + imports = [ + ./load-balancer.nix + ./wch-app.nix + ]; +} diff --git a/services/load-balancer.nix b/services/load-balancer.nix new file mode 100644 index 0000000..7dfbe00 --- /dev/null +++ b/services/load-balancer.nix @@ -0,0 +1,4 @@ +{pkgs, ...}: import ../common/services/load-balancer { + pkgs = pkgs; + dataset = null; +} diff --git a/services/wch-app.nix b/services/wch-app.nix new file mode 100644 index 0000000..b62d828 --- /dev/null +++ b/services/wch-app.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: import ../common/services/wch-app.nix { + pkgs = pkgs; + ref = "feature/client-auth"; + rev = "1d43ffd995989eda217612daed5c180a68070352"; + baseUrl = "wch-otd-test.techwork.zone"; + mail = { + host = "in-v3.mailjet.com"; + from = "wch-otd@tams.tech"; + }; +}