Setting with Compose install
Hello,
I am trying to get Ente to run and it has raised a few questions
Can you guys help?
1. Is Minio come installed with it, or do I need to install it sep? Ente web app seems to be running on the sever, if that helps
2. How do I set up the api endpoint using a reverse api? I tried to link it to enteapi.mydomain.com. Also, ports 8080, and 443 are already in use.
My firewall blocks all ports except 80, and 443, so I have set up a reverse proxy as follows:
<virtualHost *:80>
ServerName enteapi.mydomain.com
ProxyPass / http://localhost:3200/
ProxyPassReverse / http://localhost:3200/
</virtualHost>
<virtualHost *:80>
ServerName ente.mydomain.com
ProxyPass / http://localhost:8081/
ProxyPassReverse / http://localhost:8081/
</virtualHost>
The webapp runs, but doesn’t accept enteapi.myentedomain.com as my api_endpoint. Does that need to be set elsewhere?
3. I attached the compose.yaml file, I think this is set up correctly, but I’m not sure
18 Replies
Remember to use /solved to mark your thread as solved once your question is answered.
Mino is installed but I had to do additional setup
(You can see if its running with docker ps)
Are you using nginx?
Hey there, did you modify ENTE_API_ORIGIN after starting the cluster? From your above config, it's not set. It's needed for the correct API endpoint that's been bound to a domain to be used
No, my sever uses Apache as the engine. I installed ente using the Docker Compose install
I’ll look into that. Do I have to set it to the domain?
Yes
I changed the following:
didn't seem to make a difference.
If I load the endpoint in my browser, should I see anything? At the moment I just get a "service unavailable" screen. I assumed that was because the endpoint didn't send anything the browser could use
Hey you don't have to use the port if you are using domain. Just https://enteapi.mydomain.com is needed
I just gave it a try, and still nada unfortionatly
I have my reverse proxy pointing to 8081,
so i have this in there:
does that need to be changed?
API is running in 8080 in container. So you will have to use 8081:8080
Excellent,
I set that and it's still giving me errors.
Can I ask, if i load up the API url in a browser, what should I see?
Also, minio works on port 3200, which is blocked by the firewall, but I am assuming that only called from withinthe localhost, so it shouldn't matter. correct?
Here is my compose.yaml
Lgtm. Isn't domain for API https? Check that once.
I did try it a few times with and without https. I will check it again.
Do you know what happens when you load the api url directly into a browser?
Try checking this:
https://enteapi.mydomain.com/ping
Leads to the same service-unavailable page.
I tried unblocking 8081 from my firewall, and connecting directly, and it gave me the same thing.
Is there somewhere else I should be looking at changing the settings?
I turned off the other applicaton that was using 8080, and then I changed everything on ente back to the default ports,
I then went into terminal and did
ping https://localhost:8080 and it said it could not connect.
I don't think this is a port or a firewall issue, I think the api simply isn't running.
I say this because it would connect using that command with the other applicationHey localhost domain uses http and not https... Please check the protocol correctly and ping again. Try running without reverse proxy and see how it goes.
I tried all of that and it didn't change anything. The good news is i figured out the problem.
After making changes to the file I was starting it by doing
docker compose up -d turns out that doesn't update everything. so instead i did docker compose build then did docker compose up and everyhing ran as expected
Thank you for all your helpBuild I think isn't needed. Doing a down could have worked. Interesting. Thanks for letting us know about this :)
Thread marked as solved. It will be closed in <t:1752726828:R>.
This thread is now closed.