mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
feat: added firefly-iii
This commit is contained in:
parent
6cd7aec69b
commit
8e2c83721a
2 changed files with 6 additions and 2 deletions
|
|
@ -23,6 +23,10 @@ in
|
|||
};
|
||||
settings = {
|
||||
DB_CONNECTION = "pgsql";
|
||||
DB_HOST = "localhost";
|
||||
DB_PORT = "5432";
|
||||
DB_DATABASE = service.name;
|
||||
DB_USERNAME = service.name;
|
||||
APP_URL = "https://${host}";
|
||||
APP_KEY_FILE = config.sops.secrets."${service.name}-pass".path;
|
||||
DB_PASSWORD_FILE = config.sops.secrets."${service.name}-data".path;
|
||||
|
|
@ -37,7 +41,7 @@ in
|
|||
extraConfig = ''
|
||||
root * ${config.services.firefly-iii.package}/public
|
||||
encode gzip
|
||||
php_fastcgi unix/run/phpfpm/firefly-iii.sock {
|
||||
php_fastcgi unix//run/phpfpm/firefly-iii.sock {
|
||||
try_files {path} /index.php?{query}
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue