mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
add logseq
This commit is contained in:
parent
548787779c
commit
56aa737255
4 changed files with 53 additions and 32 deletions
|
@ -9,6 +9,7 @@
|
|||
./modules/adguard
|
||||
./modules/backup
|
||||
./modules/cache
|
||||
./modules/logseq
|
||||
./modules/matrix
|
||||
./modules/mautrix-telegram
|
||||
./modules/monitoring
|
||||
|
|
15
hosts/nuc/modules/logseq/default.nix
Normal file
15
hosts/nuc/modules/logseq/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue