I
Immich2y ago
pinpox

immich-proxy stopping/crashing after a few seconds

I'm having trouble getting the proxy to run. After starting it I see the following output, then it just exits. How can I get it to stay running? Also, can I just not use the proxy, I'll be using another one infront of immich (not in docker) anyway for SSL.
6 Replies
bo0tzz
bo0tzz2y ago
│ -e 'IMMICH_SERVER_URL'='http://127.0.0.1:3001' \
│ -e 'IMMICH_WEB_URL'='http://127.0.0.1:3000' \
│ -e 'IMMICH_SERVER_URL'='http://127.0.0.1:3001' \
│ -e 'IMMICH_WEB_URL'='http://127.0.0.1:3000' \
You should only configure these env vars if you're running an unusual/non-default setup. That's probably what's causing the issue.
bo0tzz
bo0tzz2y ago
As for replacing the proxy, have a look at https://immich.app/docs/administration/reverse-proxy
Reverse Proxy | Immich
When deploying Immich it is important to understand that a reverse proxy is required in front of the server and web container. The reverse proxy acts as an intermediary between the user and container, forwarding requests to the correct container based on the URL path.
pinpox
pinpoxOP2y ago
@bo0tzz if i don't set these it errors with:




bo0tzz
bo0tzz2y ago
Are you using the usual docker-compose setup?
pinpox
pinpoxOP2y ago
I'm staring the docker containers individually
bo0tzz
bo0tzz2y ago
I strongly recommend using the default setup https://immich.app/docs/install/docker-compose
Docker Compose [Recommended] | Immich
Docker Compose is the recommended method to run Immich in production. Below are the steps to deploy Immich with Docker Compose.

Did you find this page helpful?