l3v11 / SearchX

The Ultimate Telegram Bot for Google Drive
https://t.me/l3v11
GNU General Public License v3.0
197 stars 281 forks source link

Question Not an issue "query/doubt" #26

Closed bolavefasfas closed 2 years ago

bolavefasfas commented 2 years ago

This is the directory in the container right ? https://github.com/l3v11/SearchX/blob/ef62f8bf79038d0acbfffed13ac334b91b7d795c/Dockerfile#L3

and in config https://github.com/l3v11/SearchX/blob/ef62f8bf79038d0acbfffed13ac334b91b7d795c/config_sample.env#L10 as well I have to set it to /usr/src/app and if i run multiple instance of this bot on vps it wont cause isse as the volumes are mapped inside container and outside they arent mapped to /usr/src/app

This is what I thought that for every app in Dockerfile and on config I should set it up to /usr/src/app1 ..2 ..3 and so on

which I shouldn't right for every deployment if I keep DOWNLOAD_DIR & Dockerfile work directory to /usr/src/app it should work fine Right ??

I want to run 4 bots on 1 vps what's the best way to do that I mean what DOWNLOAD_DIR should I set ?

l3v11 commented 2 years ago

If you want to run on VPS, then follow the VPS guide mentioned in Readme. And no need to be tensed about DOWNLOAD_DIR var after that.