feat(users/Profpatsch/whatcd-resolver): add services & readme

Gives a story for running both jaeger and the reverse proxy, and the
program proper.

`postgres` is still run from the client.

Adds a little readme.

Change-Id: I11185028541c0214e152fd76c9c72b7e2eb11122
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11171
Tested-by: BuildkiteCI
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2024-03-17 02:04:10 +01:00 committed by clbot
parent 8ca42dc0cd
commit efa5fe1239
7 changed files with 61 additions and 1 deletions

View file

@ -4,6 +4,7 @@ let root = (import ../../. { }); in
{ pkgs ? root.third_party.nixpkgs, depot ? root, ... }:
pkgs.mkShell {
buildInputs = [
pkgs.sqlite-interactive
pkgs.sqlite-utils
@ -63,8 +64,18 @@ pkgs.mkShell {
pkgs.postgresql_14
pkgs.nodejs
pkgs.ninja
pkgs.s6
pkgs.caddy
(depot.nix.binify {
name = "nix-run";
exe = depot.users.Profpatsch.nix-tools.nix-run;
})
];
DEPOT_ROOT = toString ./../..;
PROFPATSCH_ROOT = toString ./.;
WHATCD_RESOLVER_TOOLS = pkgs.linkFarm "whatcd-resolver-tools" [
{
name = "pg_format";