.github
.vscode
docs
hydra
keys
lib
modules
pkgs
systems
artemision
palatine-hill
attic
docker
wg
act-runner.nix
archiveteam.nix
books.nix
default.nix
firefly.nix
foundry.nix
glances.nix
haproxy.cfg
haproxy.nix
minecraft.nix
nextcloud.nix
postgres.nix
restic.nix
torr.nix
unifi.nix
watchtower.bash
haproxy
acme.nix
configuration.nix
default.nix
firewall.nix
gitea.nix
hardware-changes.nix
hardware.nix
hydra.nix
loki.nix
minio.nix
networking.nix
nextcloud.nix
postgresql.nix
samba.nix
secrets.yaml
vars.nix
zfs.nix
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
statix.toml
treefmt.toml
26 lines
670 B
Nix
26 lines
670 B
Nix
{ ... }:
|
|
let
|
|
vars = import ../vars.nix;
|
|
ffiii_path = "${vars.primary_docker}/firefly-iii";
|
|
in
|
|
{
|
|
virtualisation.oci-containers.containers = {
|
|
firefly = {
|
|
image = "fireflyiii/core:latest";
|
|
extraOptions = [
|
|
"--network=firefly-iii_default"
|
|
"--network=postgres-net"
|
|
];
|
|
environmentFiles = [ "${ffiii_path}/.env" ];
|
|
ports = [ "4188:8080" ];
|
|
volumes = [ "${ffiii_path}/app/upload:/var/www/html/storage/upload" ];
|
|
};
|
|
fidi = {
|
|
image = "fireflyiii/data-importer:latest";
|
|
environmentFiles = [ "${ffiii_path}/.fidi.env" ];
|
|
ports = [ "4187:8080" ];
|
|
dependsOn = [ "firefly" ];
|
|
};
|
|
};
|
|
}
|