second cinny instance running for personal matrix
This commit is contained in:
parent
ce11c5c882
commit
cc6bba86b2
3 changed files with 17 additions and 0 deletions
|
|
@ -23,6 +23,21 @@
|
|||
ports = [
|
||||
"${config.ports.cinny}:80"
|
||||
];
|
||||
volumes = [
|
||||
"/data/matrix/cinny-config.json:/app/config.json"
|
||||
];
|
||||
extraOptions = [
|
||||
"--pull=always"
|
||||
];
|
||||
};
|
||||
"cinny2" = {
|
||||
image = "ghcr.io/cinnyapp/cinny:latest";
|
||||
ports = [
|
||||
"${config.ports.cinny2}:80"
|
||||
];
|
||||
volumes = [
|
||||
"/data/matrix/cinny-config.json:/app/config.json"
|
||||
];
|
||||
extraOptions = [
|
||||
"--pull=always"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.cinny2}";
|
||||
locations."/_matrix/".proxyPass = "http://127.0.0.1:6167$request_uri";
|
||||
locations."= /.well-known/matrix/client" = {
|
||||
alias = pkgs.writeText "matrix-wk-client" ''
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ in
|
|||
whoogle = mkStringOption "8007";
|
||||
qbittorrent = mkStringOption "8008";
|
||||
actual = mkStringOption "8009";
|
||||
cinny2 = mkStringOption "8010";
|
||||
sonarr = mkStringOption "8989";
|
||||
jackett = mkStringOption "9117";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue