firefly
This commit is contained in:

committed by
Shelvacu on legtop

parent
100bab20f3
commit
0bb7cde4d9
@@ -12,6 +12,7 @@
|
||||
./services/static-stuff.nix
|
||||
./services/vacustore.nix
|
||||
./services/dufs.nix
|
||||
./services/firefly.nix
|
||||
];
|
||||
|
||||
vacu.proxiedServices = {
|
||||
@@ -23,6 +24,7 @@
|
||||
static-stuff-mira.enable = true;
|
||||
llm.enable = true;
|
||||
dufs.enable = true;
|
||||
firefly.enable = true;
|
||||
|
||||
keycloak.enable = false;
|
||||
kanidm.enable = false;
|
||||
|
@@ -1,5 +1,4 @@
|
||||
{ config, lib, ... }:
|
||||
assert false; # this is a template
|
||||
{ config, ... }:
|
||||
let
|
||||
container = config.containers.firefly;
|
||||
in
|
||||
@@ -29,12 +28,7 @@ in
|
||||
};
|
||||
|
||||
config =
|
||||
let
|
||||
outer_config = config;
|
||||
in
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
@@ -44,6 +38,27 @@ in
|
||||
networking.firewall.enable = false;
|
||||
networking.useHostResolvConf = lib.mkForce false;
|
||||
services.resolved.enable = true;
|
||||
|
||||
services.firefly-iii = {
|
||||
enable = true;
|
||||
dataDir = "/firefly";
|
||||
settings = {
|
||||
APP_URL = "https://firefly.shelvacu.com/";
|
||||
APP_ENV = "production";
|
||||
SITE_OWNER = "firefly@shelvacu.com";
|
||||
DEFAULT_LANGUAGE = "en_US";
|
||||
TZ = "America/Los_Angeles";
|
||||
TRUSTED_PROXIES = container.hostAddress;
|
||||
DB_CONNECTION = "pgsql";
|
||||
DB_HOST = container.hostAddress;
|
||||
DB_PORT = "5432";
|
||||
DB_DATABASE = "firefly";
|
||||
DB_USERNAME = "firefly";
|
||||
DB_PASSWORD = "";
|
||||
};
|
||||
enableNginx = true;
|
||||
virtualHost = "firefly.shelvacu.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user