Set up Miniflux

This commit is contained in:
coolneng 2019-11-17 23:25:54 +01:00
parent 9b1d410eeb
commit b1de510e50
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 15 additions and 1 deletions

View File

@ -66,6 +66,9 @@
locations."/gitea/" = {
proxyPass = "http://localhost:3000/";
};
locations."/miniflux/" = {
proxyPass = "http://localhost:8080/";
};
locations."/wallabag/" = {
root = "/var/lib/wallabag/web";
tryFiles = "try_files $uri /app.php$is_args$args";
@ -105,7 +108,7 @@
services.postgresql = {
enable = true;
package = pkgs.postgresql_11;
ensureDatabases = [ "gitea" "wallabag" ];
ensureDatabases = [ "gitea" "wallabag" "miniflux" ];
ensureUsers = [
{
name = "gitea";
@ -115,6 +118,10 @@
name = "wallabag";
ensurePermissions = {"DATABASE wallabag" = "ALL PRIVILEGES";};
}
{
name = "miniflux";
ensurePermissions = {"DATABASE miniflux" = "ALL PRIVILEGES";};
}
];
authentication = lib.mkForce ''
# Generated file; do not edit!
@ -160,4 +167,11 @@
group = "php";
};
services.miniflux = {
enable = true;
config = {
BASE_URL = "https://coolneng.duckdns.org";
};
};
}