mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Immich via Docker Compose
This is how they strongly encourage it to be setup and its not in nixpkgs yet.
This commit is contained in:
parent
cb67bc6a28
commit
fcedca9777
1 changed files with 16 additions and 0 deletions
|
|
@ -283,6 +283,20 @@ in {
|
|||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://${mini_watcher}:9999";
|
||||
};
|
||||
"immich.${home_domain}" = {
|
||||
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://${backend_ip}:2283";
|
||||
locations."/".proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 0;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
send_timeout 600s;
|
||||
'';
|
||||
};
|
||||
"nc.${home_domain}" = {
|
||||
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
||||
enableACME = true;
|
||||
|
|
@ -329,6 +343,7 @@ in {
|
|||
acmeRoot = null;
|
||||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://${backend_ip}:8080";
|
||||
locations."/media/".alias = "/orico/tandoor-recipes/";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -419,6 +434,7 @@ in {
|
|||
|
||||
# Compose based apps were crashing with podman compose, so back to Docker...
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.package = pkgs.docker_26;
|
||||
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue