How to specify microservices URL

Hi there 👋 I've been trying to get Immich working for Easypanel, but there doesn't seem to be anything to specify a URL for microservices. Everything else works perfectly. If there is a way to run microservices and the server in the same image, please let me know. I am NOT deploying from docker-compose. I am using docker to deploy under the ghcr.io/immich-app/ images. Any help is appreciated. Thanks in advance!
21 Replies
Supernova3339
Supernova3339OP•3y ago
If there isn't anything like this implemented, please let me know and I'll send a PR.
Alex Tran
Alex Tran•3y ago
Can you help us understand what are the exact problems you are facing?
Supernova3339
Supernova3339OP•3y ago
I can't get past the registration screen ( initial admin account ) as microservices and services can't be a linked container They both have to run separate, or run both at once
Alex Tran
Alex Tran•3y ago
They can run separately what error message are you seeing?
Supernova3339
Supernova3339OP•3y ago
Microservices aren't linked at all So I just get a message of a API route that doesn't exist
Alex Tran
Alex Tran•3y ago
I am not familiar with Easypanel, when you say link what do you mean by that? Can you grab the message content?
Supernova3339
Supernova3339OP•3y ago
Containers aren't and can't be linked currently I can in a few minutes Here is the error message Alex
Supernova3339
Supernova3339OP•3y ago
It is trying to contact /api/auth/admin-sign-up which does not exist ( my guess is it's ran under microservices )
Alex Tran
Alex Tran•3y ago
no it is under web microservice only handle operations after an asset is uploaded
Supernova3339
Supernova3339OP•3y ago
that's weird but the server URL it's attempting to post to for signup apparantly doesn't exist i'm not even sure it's mapped it says it is as a post req, but that's about it
Alex Tran
Alex Tran•3y ago
I don't have any experience with Easy Panel so I am afraid you will have to tinker a bit with this
Supernova3339
Supernova3339OP•3y ago
api-key is mapped so it seems fine do you think it would be a problem with the server URL? as I've added "https://xxx.xxx does it need a "/" ?
Alex Tran
Alex Tran•3y ago
lol unsure
Supernova3339
Supernova3339OP•3y ago
I figured it out it's attempting to post to it from the web but the web doesn't have any /api is the server API supposed to be accessable via the web?
Alex Tran
Alex Tran•3y ago
Yes I belioeve so ssr use the internal dns
Supernova3339
Supernova3339OP•3y ago
so it relies on the network? weird the /auth endpoint doesn't exist on the API okay so whatever is supposed to connect to the API doesn't seem to connect ( or it does and is being blocked ) yeah so I switched to the development environment and according to the server /api/auth/admin-sign-up is not found so whatever is happening isn't my control
Alex Tran
Alex Tran•3y ago
yeah unfortunately I can be much of help here since i am not familar with the platform you are using
Supernova3339
Supernova3339OP•3y ago
it runs under docker it just doesn't have all the features of docker-compose I'll look into it in the morning but from what I see now, it's posting to a URL that doesn't exist
Alex Tran
Alex Tran•3y ago
the url is based on docker-compose dns I believe
Supernova3339
Supernova3339OP•3y ago
ah that's not good I I I'll look into making that specified

Did you find this page helpful?