summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-02-13 16:21:56 +0100
committerRory& <root@rory.gay>2026-02-13 16:21:56 +0100
commit3b809884ff9e35291f4e136c9ca412f619ce72f5 (patch)
tree1fb795560bc1b37f97f3bb83a96a59569c2baa07
parentmore pins fixes (diff)
downloadserver-ts-3b809884ff9e35291f4e136c9ca412f619ce72f5.tar.xz
Nix: add PORT=3001 for containers by default
-rw-r--r--flake.nix6
-rw-r--r--src/cdn/routes/icons.ts0
2 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix

index 2d3d8925..b384ced0 100644 --- a/flake.nix +++ b/flake.nix
@@ -44,6 +44,9 @@ contents = [ self.packages.${system}.default ]; config = { Cmd = [ "${self.outputs.packages.${system}.default}/bin/start-bundle" ]; + Env = { + PORT = "3001"; + }; Expose = [ "3001" ]; }; }; @@ -58,6 +61,9 @@ ]; config = { Cmd = [ "${self.outputs.packages.${system}.default}/bin/start-${mod}" ]; + Env = { + PORT = "3001"; + }; Expose = [ "3001" ]; }; } diff --git a/src/cdn/routes/icons.ts b/src/cdn/routes/icons.ts new file mode 100644
index 00000000..e69de29b --- /dev/null +++ b/src/cdn/routes/icons.ts