[PR #2875] [MERGED] fix(deployment) Add dependency on immich-web to immich-proxy #9752

Closed
opened 2026-02-05 14:10:12 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2875
Author: @etnoy
Created: 6/20/2023
Status: Merged
Merged: 6/20/2023
Merged by: @alextran1502

Base: mainHead: fix/immich-web-dependency


📝 Commits (1)

  • 20cb6ad Add dependency on immich-web to immich-proxy

📊 Changes

2 files changed (+2 additions, -0 deletions)

View changed files

📝 docker/docker-compose.dev.yml (+1 -0)
📝 docker/docker-compose.yml (+1 -0)

📄 Description

In some cases I've seen immich-proxy start before immich-web, which results in dns errors as docker can't resolve the "immich-web" hostname before immich-web is started. The resulting error is similar to:

immich-proxy_1 | nginx: [emerg] host not found in upstream "immich-web:3000" in /etc/nginx/conf.d/default.conf:20

which results in immich not being reachable. This PR adds a dependency on immich-web to start before immich-proxy which fixes the issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/2875 **Author:** [@etnoy](https://github.com/etnoy) **Created:** 6/20/2023 **Status:** ✅ Merged **Merged:** 6/20/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/immich-web-dependency` --- ### 📝 Commits (1) - [`20cb6ad`](https://github.com/immich-app/immich/commit/20cb6adf3d5d0dfb1c8e58bcf6d7ee7b7bb12231) Add dependency on immich-web to immich-proxy ### 📊 Changes **2 files changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker/docker-compose.dev.yml` (+1 -0) 📝 `docker/docker-compose.yml` (+1 -0) </details> ### 📄 Description In some cases I've seen immich-proxy start before immich-web, which results in dns errors as docker can't resolve the "immich-web" hostname before immich-web is started. The resulting error is similar to: `immich-proxy_1 | nginx: [emerg] host not found in upstream "immich-web:3000" in /etc/nginx/conf.d/default.conf:20 ` which results in immich not being reachable. This PR adds a dependency on immich-web to start before immich-proxy which fixes the issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:10:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9752