mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -06:00
feat: added firefly-iii
This commit is contained in:
parent
4c5dd6881b
commit
02b357f8e9
2 changed files with 19 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ let
|
||||||
;
|
;
|
||||||
label = "Firefly-III";
|
label = "Firefly-III";
|
||||||
name = "firefly-iii";
|
name = "firefly-iii";
|
||||||
domain = "${name}.${domain0}";
|
domain = "finances.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = label;
|
label = label;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
let
|
let
|
||||||
inherit (flake.config.services.instances) firefly-iii;
|
inherit (flake.config.services.instances) firefly-iii;
|
||||||
inherit (flake.config.machines.devices) ceres;
|
inherit (flake.config.machines.devices) ceres;
|
||||||
|
# localhost = "${ceres.ip.addess0}:${service.ports.port0}";
|
||||||
|
host = service.domains.url0;
|
||||||
service = firefly-iii;
|
service = firefly-iii;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -17,6 +19,22 @@ in
|
||||||
firefly-iii-data-importer = {
|
firefly-iii-data-importer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
caddy = {
|
||||||
|
virtualHosts = {
|
||||||
|
${host} = {
|
||||||
|
extraConfig = ''
|
||||||
|
root * ${
|
||||||
|
config.services.phpfpm.pools.firefly-iii.settings.php_admin_value."opcache.file_cache"
|
||||||
|
}/../public
|
||||||
|
php_fastcgi unix//run/phpfpm/firefly-iii.sock
|
||||||
|
file_server
|
||||||
|
encode gzip
|
||||||
|
|
||||||
|
tls ${service.ssl.cert} ${service.ssl.key}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
sops =
|
sops =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue