add firefly,restic

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-08-16 09:52:29 -04:00
parent 680b2b036d
commit bc2639c272
3 changed files with 60 additions and 4 deletions

View File

@ -0,0 +1,24 @@
{ ... }:
{
virtualisation.oci-containers.containers = {
firefly = {
image = "fireflyiii/core:latest";
extraOptions = [
"--restart=always"
"--network=firefly-iii_default"
"--network=postgres-net"
];
environmentFiles = [ "/ZFS/ZFS-primary/docker/firefly-iii/.env" ];
ports = [ "4188:8080" ];
volumes = [ "/ZFS/ZFS-primary/docker/firefly-iii/app/upload:/var/www/html/storage/upload" ];
};
fidi = {
image = "fireflyiii/data-importer:latest";
extraOptions = [ "--restart=always" ];
environmentFiles = [ "/ZFS/ZFS-primary/docker/firefly-iii/.fidi.env" ];
ports = [ "4187:8080" ];
depends_on = [ "firefly" ];
};
};
}