Add logseq to Alexandria
This commit is contained in:
parent
ddd5e26e5e
commit
4bab894438
3 changed files with 19 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
./hardware-configuration.nix
|
||||
./jellyfin.nix
|
||||
./librespeed.nix
|
||||
./logseq.nix
|
||||
./minecraft.nix
|
||||
./nextcloud.nix
|
||||
./nginx.nix
|
||||
|
|
|
|||
17
hosts/servers/alexandria/logseq.nix
Normal file
17
hosts/servers/alexandria/logseq.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers.containers."logseq" = {
|
||||
image = "ghcr.io/logseq/logseq-webapp:latest";
|
||||
ports = [ "${config.ports.logseq}:80" ];
|
||||
environment = { TZ = "America/Bahia"; };
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."logseq.baduhai.me" = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.logseq}";
|
||||
};
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ in {
|
|||
qbittorrent = mkStringOption "8008";
|
||||
actual = mkStringOption "8009";
|
||||
pairdrop = mkStringOption "8010";
|
||||
logseq = mkStringOption "8011";
|
||||
jellyfin = mkStringOption "8096";
|
||||
sonarr = mkStringOption "8989";
|
||||
jackett = mkStringOption "9117";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue