wy580477 / Leech-AIO-APP-EX

All Downloaders with Rclone auto-upload & Telegram notification on Docker | Docker 全能下载 APP + Rclone 自动上传 + 电报任务完成通知
187 stars 186 forks source link

Colab Vs Docker (VPS) #109

Closed james00000007 closed 10 months ago

james00000007 commented 10 months ago

@wy580477

since i am useing the Colab deployment long time and there is no issue till date.

while i now create the deployment on VPS Via docker-compose file

while i am edit docker-compose_en.yml file below screen shot for your ref. 502 Bad Gateway.shown

domin +/portal

or try with or VPS IP+port/portal give the below error.

since i nginx proxy manger using the 443 port i can change to different port e.g 8880 or 6000

below screen shot of of nginx proxy manger.

can you please help me in this issue i know i am missing something, as i am not a technical person/developer.

wy580477 commented 10 months ago

If you are using reserse proxy such as npm, you shoud set CADDY_DOMAIN to http://xxx.xxx.eu.org or leave it blank.

HTTPS is handled by npm , you don't need to set via docker-compose file.

james00000007 commented 10 months ago

If you are using reserse proxy such as npm, you shoud set CADDY_DOMAIN to http://xxx.xxx.eu.org or leave it blank.

HTTPS is handled by npm , you don't need to set via docker-compose file.

i set to CADDY_DOMAIN to http://xxx.xxx.eu.org/ but if i removed from docker-compose file then how i can access to reach portal page ?

james00000007 commented 10 months ago

is there changes need to be done in Dockerfile ?

wy580477 commented 10 months ago

is there changes need to be done in Dockerfile ?

No need.

You need to run ”docker-compose up -d --force-recreate " to recreate container.

wy580477 commented 10 months ago

i set to CADDY_DOMAIN to http://xxx.xxx.eu.org/ but if i removed from docker-compose file then how i can access to reach portal page ?

What do you mean by "if i removed from [docker-compose file]"?

james00000007 commented 10 months ago

i mean the URL remove from docker-compose file and should i http://**ip**:port include. set to CADDY_DOMAIN.

sorry for trouble you.

wy580477 commented 10 months ago

i mean the URL remove from docker-compose file and should i http://**ip**:port include. set to CADDY_DOMAIN.

sorry for trouble you.

I'm confused.

i set to CADDY_DOMAIN to http://xxx.xxx.eu.org/

Do you set to a URL or not? Now is your service working?

wy580477 commented 10 months ago

I don't use portainer, so can't help you.

wy580477 commented 10 months ago

??? I tell you to set to http:// , why would set to https:// ???

Do you have trouble to understand what I said?

james00000007 commented 10 months ago

??? I tell you to set to http:// , why would set to https:// ???

Do you have trouble to understand what I said?

it my mistake, correct set to http:// and run

Build Docker image via below command

sudo docker build . -t leech-aio

please let me know if anything pending from my end ?

let see if successfully done or not.

wy580477 commented 10 months ago

@wy580477

getting below error.

This a caddy dependency error which I will fix later.

Why do you need to build your own image? I already provide ready to use image.

You only need to run "docker-compose up -d -f xxxx.yml".

james00000007 commented 10 months ago

@wy580477 can you please removed all the images of this issue conversation

james00000007 commented 10 months ago

please close this issue,