fix(immich): add hostAliases due to upstream hardcoded urls (#3956)
This commit is contained in:
parent
fb7c2cf660
commit
e6c05b3aaa
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue