From 8c4b2d40328ef849e4c91f16a32ef90d2a1231c9 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sun, 23 Jun 2024 14:08:44 -0500 Subject: [PATCH] add franklincce and docker on a trial basis --- boxes/netbox/default.nix | 1 + boxes/netbox/franklincce.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 boxes/netbox/franklincce.nix diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index 74dafc6..8bf24e0 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -15,6 +15,7 @@ ./rss2email.nix ./fail2ban.nix ./nginx.nix + ./franklincce.nix ]; # nix optimization diff --git a/boxes/netbox/franklincce.nix b/boxes/netbox/franklincce.nix new file mode 100644 index 0000000..f27a2f9 --- /dev/null +++ b/boxes/netbox/franklincce.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: +{ + virtualisation.docker.enable = true; + + services.nginx.virtualHosts."git.beepboop.systems" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:1337"; + }; + }; +}