immich: update external domain

sakura: init immich proxy

traefik: add immich proxy
This commit is contained in:
notohh 2025-03-07 04:39:33 -05:00
parent b769c225bc
commit d08cd8dcd8
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 22 additions and 1 deletions
hosts
sakura/services
sora/services
yuki/services

View file

@ -0,0 +1,8 @@
_: {
services.immich-public-proxy = {
enable = true;
port = 2284;
openFirewall = true;
immichUrl = "https://immich.internal.flake.sh";
};
}

View file

@ -178,6 +178,13 @@
tls.domains = [{main = "*.${pqdn}";}];
tls.certresolver = "production";
};
immich-proxy = {
rule = "Host(`immich.${pqdn}`)";
entrypoints = ["websecure"];
service = "immich-proxy";
tls.domains = [{main = "*.${pqdn}";}];
tls.certresolver = "production";
};
};
services = let
sakuraIp = "100.121.201.47:";
@ -200,6 +207,7 @@
searxng.loadBalancer.servers = [{url = "http://${sakuraIp}8100";}];
justlog.loadBalancer.servers = [{url = "http://${sakuraIp}8025";}];
wastebin.loadBalancer.servers = [{url = "http://${sakuraIp}8088";}];
immich-proxy.loadBalancer.servers = [{url = "http://${sakuraIp}2284";}];
# tsuru
woodpecker.loadBalancer.servers = [{url = "http://100.82.146.40:8200";}];
@ -212,7 +220,7 @@
api.insecure = false;
global = {
checkNewVersion = false;
sendAnonymousUsage = true;
sendAnonymousUsage = false;
};
entryPoints = {
websecure = {

View file

@ -13,5 +13,10 @@ _: {
database = {
createDB = true;
};
settings = {
server = {
externalDomain = "https://immich.flake.sh";
};
};
};
}