© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•4y ago•
59 replies
moniker

Can't connect to api endpoint after docker-compose setup

I've attempted to set up Immich using the docker-compose setup doc (https://immich.app/docs/installation/recommended-installation, https://immich.app/docs/usage/post-installation). I am unable to log in on the mobile app but am able to use the app from a web browser on desktop.

The only changes I've made to my .env are setting the upload, jwt_secret, and setting the log_level to verbose in an attempt to get more information on anything that I'm seeing:
UPLOAD_LOCATION=./upload

###################################################################################
# Log message level - [simple|verbose]
###################################################################################

LOG_LEVEL=verbose

###################################################################################
# JWT SECRET
#
# This JWT_SECRET is used to sign the authentication keys for user login
# You should set it to a long randomly generated value
# You can use this command to generate one: openssl rand -base64 128
###################################################################################

JWT_SECRET=redacted
UPLOAD_LOCATION=./upload

###################################################################################
# Log message level - [simple|verbose]
###################################################################################

LOG_LEVEL=verbose

###################################################################################
# JWT SECRET
#
# This JWT_SECRET is used to sign the authentication keys for user login
# You should set it to a long randomly generated value
# You can use this command to generate one: openssl rand -base64 128
###################################################################################

JWT_SECRET=redacted


When I attempt to curl the api endpoint from localhost I get the following:
$ curl http://localhost:2283/api
{"statusCode":404,"message":"Cannot GET /api","error":"Not Found"}
$ curl http://localhost:2283/api
{"statusCode":404,"message":"Cannot GET /api","error":"Not Found"}


I've attempted to watch this live while using
docker-compose up
docker-compose up
instead of with
-d
-d
, but there doesn't seem to be any errors logging, even with LOG_LEVEL set to verbose. Does anyone have some hints at what to do here to debug this (probably user error)? Of particular interest would be if there are any other curl requests that reflect mine being wrong that I could use to debug.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Can't access <local IP>:2283 for setup after docker compose
ImmichIImmich / help-desk-support
3y ago
Can't authenticate with Postgres after migration / flat docker compose file
ImmichIImmich / help-desk-support
7mo ago
docker-compose
ImmichIImmich / help-desk-support
13mo ago
After server reboot have to run docker compose
ImmichIImmich / help-desk-support
3w ago