mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
16 lines
343 B
Nix
16 lines
343 B
Nix
|
{ config, ... }:
|
||
|
let
|
||
|
domain = "logseq.${config.networking.domain}";
|
||
|
in
|
||
|
{
|
||
|
virtualisation.oci-containers = {
|
||
|
containers.kanboard = {
|
||
|
image = "ghcr.io/logseq/logseq-webapp:latest";
|
||
|
ports = [ "127.0.0.1:8045:80" ];
|
||
|
};
|
||
|
};
|
||
|
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||
|
reverse_proxy 127.0.0.1:8045
|
||
|
'';
|
||
|
}
|