fix(immich): add hostAliases due to upstream hardcoded urls (#3956)

This commit is contained in:
Stavros Kois 2022-09-29 09:35:02 +03:00 committed by GitHub
parent fb7c2cf660
commit e6c05b3aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 4 deletions

View File

@ -26,7 +26,7 @@ name: immich
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/immich
- https://github.com/immich-app/immich
version: 0.0.1
version: 0.0.2
annotations:
truecharts.org/catagories: |
- media

View File

@ -37,7 +37,9 @@ metadata:
data:
NODE_ENV: production
{{/* User Defined */}}
PUBLIC_LOGIN_PAGE_MESSAGE: {{ .Values.immich.public_login_page_message }}
{{- with .Values.immich.public_login_page_message }}
PUBLIC_LOGIN_PAGE_MESSAGE: {{ . }}
{{- end }}
LOG_LEVEL: {{ .Values.immich.log_level }}
---
@ -110,7 +112,7 @@ data:
rewrite /api/(.*) /$1 break;
# Server Container
proxy_pass http://localhost:3001;
proxy_pass http://immich-server:3001;
}
location / {
@ -135,7 +137,7 @@ data:
proxy_set_header Host $host;
# Web Container
proxy_pass http://localhost:3000;
proxy_pass http://immich-web:3000;
}
}
}

View File

@ -62,6 +62,14 @@ probes:
type: HTTP
port: 3001
# Due to https://github.com/immich-app/immich/issues/726
hostAliases:
- ip: 127.0.0.1
hostnames:
- immich-web
- immich-server
- immich-machine-learning
service:
main:
ports: