From f2bc56e22631ae552fd840ecad74bd16197fbb2b Mon Sep 17 00:00:00 2001 From: BIKASH MAITY <99900830+Bikash-Maity@users.noreply.github.com> Date: Sat, 12 Mar 2022 09:06:28 +0530 Subject: [PATCH 01/67] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cde56de..59b1d1f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Easy to Deploy to Heroku. Press Below Button to Deploy! -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/AbirHasan2005/Rename-Bot) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Bikash-Maity/Rename-Bot) #### Thanks to [subinps](https://github.com/subinps) for helping #### Inspired from [@HK_Rename_Bot](https://t.me/HK_Rename_Bot) & [@AHToolsBot](https://t.me/AHToolsBot) From 074303713b231c66c522e87b7e4d50c36d813d83 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:38:56 +0530 Subject: [PATCH 02/67] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59b1d1f..3c43e82 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Easy to Deploy to Heroku. Press Below Button to Deploy! -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Bikash-Maity/Rename-Bot) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Joy-nath/Rename-Bot) #### Thanks to [subinps](https://github.com/subinps) for helping #### Inspired from [@HK_Rename_Bot](https://t.me/HK_Rename_Bot) & [@AHToolsBot](https://t.me/AHToolsBot) From 6e133d64f72a039da8c194a58e0fef0705f5f067 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:40:08 +0530 Subject: [PATCH 03/67] Update app.json --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 0f72e47..d271e20 100644 --- a/app.json +++ b/app.json @@ -7,7 +7,7 @@ "rename", "bot" ], - "repository": "https://github.com/AbirHasan2005/Rename-Bot", + "repository": "https://github.com/Joy-nath/Rename-Bot", "website": "https://abirhasan.wtf", "success_url": "https://t.me/AH_RenameBot", "env": { From 9610ec9a88c9456f0f6476c2bc3e96fb3fadd98c Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 12:12:59 +0530 Subject: [PATCH 04/67] Create docker-compose.yml --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6b3c8ca --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: version +services: + worker: + build: . + environment: + API_HASH: $API_HASH + API_ID: $API_ID + BOT_TOKEN: $BOT_TOKEN From 9430a527117cf7934efe1ff675b7b7bd02c76d06 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 12:29:37 +0530 Subject: [PATCH 05/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6b3c8ca..29f1cda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: version +version: "3" services: worker: build: . From bc2f08b7d22597366b985efa762a87ec11f0e393 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 13:11:48 +0530 Subject: [PATCH 06/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 29f1cda..79dd286 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3" +version: "3.9" services: worker: build: . From b2cc16cf25328806ad056c2f9e000277d9b7ea4e Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 13:16:36 +0530 Subject: [PATCH 07/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 79dd286..421a2eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.9" +version: "version" services: worker: build: . From 9bca59472d2f786d100a1d781b69d168c9905967 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 13:24:23 +0530 Subject: [PATCH 08/67] Update docker-compose.yml --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 421a2eb..b12e94c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ -version: "version" +version: version services: - worker: + worker: python3 -m bot build: . environment: API_HASH: $API_HASH From 0d98d60d7862d27923fe00a753a2cad41a1b4860 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 13:26:33 +0530 Subject: [PATCH 09/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b12e94c..6b3c8ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: version services: - worker: python3 -m bot + worker: build: . environment: API_HASH: $API_HASH From f88fe0e030e14b44cec457437e00309b80783e37 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 13:29:22 +0530 Subject: [PATCH 10/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6b3c8ca..67246e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: version +version: "python3 -m bot" services: worker: build: . From dd5146790d8cff5238ebafb2c1e07324111e8d26 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 14:07:36 +0530 Subject: [PATCH 11/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 67246e0..57ec8cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "python3 -m bot" +version: "pip3 install -r requirements.txt; python3 -m bot" services: worker: build: . From 39617453006d0d9c0297896491c6012873e681c0 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 14:12:36 +0530 Subject: [PATCH 12/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 57ec8cd..6a2ef6a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "pip3 install -r requirements.txt; python3 -m bot" +version: "pip3" services: worker: build: . From ce9e97ed5ca50c47425b50280774737a091e7b52 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 14:23:42 +0530 Subject: [PATCH 13/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6a2ef6a..1fa148a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "pip3" +version: "python3" services: worker: build: . From a39835d69207774f6b8785472a16953b21b83513 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 14:27:54 +0530 Subject: [PATCH 14/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1fa148a..4a3d322 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "python3" +version: "Pyrogram" services: worker: build: . From c67ec28fa6bd07b54f11dad82a7247d8ad0a0736 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 16:22:57 +0530 Subject: [PATCH 15/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4a3d322..f305046 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "Pyrogram" +version: "0.20" services: worker: build: . From 975084aa8b984d08456a4d794d67ad6b5276ab7a Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Wed, 25 May 2022 16:25:00 +0530 Subject: [PATCH 16/67] Update docker-compose.yml --- docker-compose.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f305046..8b13789 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1 @@ -version: "0.20" -services: - worker: - build: . - environment: - API_HASH: $API_HASH - API_ID: $API_ID - BOT_TOKEN: $BOT_TOKEN + From 5355f35d9c1106160391f2cbe5a5d2994fc7b9c6 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 15:15:57 +0530 Subject: [PATCH 17/67] Delete docker-compose.yml --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 8b13789..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1 +0,0 @@ - From d61156571f2de874a8b7e3693d312449f4fa2cf5 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 15:50:54 +0530 Subject: [PATCH 18/67] Create docker-compose.yml --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8989757 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: version +services: + worker: + build: + environment: + API_HASH: $API_HASH + API_ID: $API_ID + BOT_TOKEN: $BOT_TOKEN From ad94d332075e0126e9f0b2010ce4db71f9aa8333 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:01:38 +0530 Subject: [PATCH 19/67] Update docker-compose.yml --- docker-compose.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8989757..1313d15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,17 @@ -version: version +version: "3.9" services: worker: - build: + build: . environment: - API_HASH: $API_HASH API_ID: $API_ID + API_HASH: $API_HASH BOT_TOKEN: $BOT_TOKEN + DOWNLOAD_DIR: $DOWNLOAD_DIR + LOGGER: $logging + OWNER_ID: $OWNER_ID + PRO_USERS: $PRO_USERS + PRO_USERS: .append(OWNER_ID) + MONGODB_URI: $MONGODB_URI + LOG_CHANNEL: $LOG_CHANNEL + BROADCAST_AS_COPY: $BROADCAST_AS_COPY + From 0e4b69d7c7a7b206a08ba9a0e31e5f959d54908a Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:04:09 +0530 Subject: [PATCH 20/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1313d15..ea7b927 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: - worker: + worker: "pip3 install -r requirements.txt; python3 -m bot" build: . environment: API_ID: $API_ID From 9490d76d56299645949c91d0a5d4e441ebabe52c Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:17:19 +0530 Subject: [PATCH 21/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ea7b927..1313d15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: - worker: "pip3 install -r requirements.txt; python3 -m bot" + worker: build: . environment: API_ID: $API_ID From 249d766015d6a93e0ff40722619fb0123ead2cc0 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:18:51 +0530 Subject: [PATCH 22/67] Update docker-compose.yml --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1313d15..1b0e658 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,6 @@ services: LOGGER: $logging OWNER_ID: $OWNER_ID PRO_USERS: $PRO_USERS - PRO_USERS: .append(OWNER_ID) MONGODB_URI: $MONGODB_URI LOG_CHANNEL: $LOG_CHANNEL BROADCAST_AS_COPY: $BROADCAST_AS_COPY From 2885adca5b53dc456351ccdbc7d5b721e91abe38 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:21:06 +0530 Subject: [PATCH 23/67] Rename docker-compose.yml to Dockerfile --- docker-compose.yml => Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-compose.yml => Dockerfile (100%) diff --git a/docker-compose.yml b/Dockerfile similarity index 100% rename from docker-compose.yml rename to Dockerfile From 56dec826ddf02b4aacb7320dc312a4e13bb901e1 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:22:11 +0530 Subject: [PATCH 24/67] Rename Dockerfile to Dockerfile.py --- Dockerfile => Dockerfile.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Dockerfile => Dockerfile.py (100%) diff --git a/Dockerfile b/Dockerfile.py similarity index 100% rename from Dockerfile rename to Dockerfile.py From 10bffbb21a43ab3cb5a36be8e1342598c557306e Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:23:31 +0530 Subject: [PATCH 25/67] Rename Dockerfile.py to Configs.py --- Dockerfile.py => Configs.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Dockerfile.py => Configs.py (100%) diff --git a/Dockerfile.py b/Configs.py similarity index 100% rename from Dockerfile.py rename to Configs.py From e47a538bb42b71a9b7fda525d55a2ab82a9eca40 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:25:13 +0530 Subject: [PATCH 26/67] Rename Configs.py to .Replit --- Configs.py => .Replit | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Configs.py => .Replit (100%) diff --git a/Configs.py b/.Replit similarity index 100% rename from Configs.py rename to .Replit From 90ea2937bd9b43380c3fe1a8cbc76b43ccd9d8f6 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:26:32 +0530 Subject: [PATCH 27/67] Rename .Replit to Configs.yml --- .Replit => Configs.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .Replit => Configs.yml (100%) diff --git a/.Replit b/Configs.yml similarity index 100% rename from .Replit rename to Configs.yml From ce57910aa91a422ae8d7d7356250c32e1272b575 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:28:38 +0530 Subject: [PATCH 28/67] Rename Configs.yml to docker-compose.yml --- Configs.yml => docker-compose.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Configs.yml => docker-compose.yml (100%) diff --git a/Configs.yml b/docker-compose.yml similarity index 100% rename from Configs.yml rename to docker-compose.yml From 6e6b689aa714aee94e23d261584fb7d77e87a4a1 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:31:47 +0530 Subject: [PATCH 29/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1b0e658..62d69f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: - worker: + worker: "python3 -m bot" build: . environment: API_ID: $API_ID From 7d6b1332232f0f9c77d2600bb94516403845c53e Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:32:55 +0530 Subject: [PATCH 30/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 62d69f1..6892756 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: - worker: "python3 -m bot" + worker: "python3" build: . environment: API_ID: $API_ID From 036095c0968b2af89efd954d5098e6d856fcb8cb Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sat, 28 May 2022 16:33:52 +0530 Subject: [PATCH 31/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6892756..bd0e4f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: - worker: "python3" + worker: $python3 build: . environment: API_ID: $API_ID From b2ed48c874e9d11fa4e28db0c0588f9dc6c4b18b Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:27:27 +0530 Subject: [PATCH 32/67] Rename docker-compose.yml to Dockerfile.yml --- docker-compose.yml => Dockerfile.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-compose.yml => Dockerfile.yml (100%) diff --git a/docker-compose.yml b/Dockerfile.yml similarity index 100% rename from docker-compose.yml rename to Dockerfile.yml From 6b2d257839a3f20fc8e87d9187320698ab0463d0 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:29:09 +0530 Subject: [PATCH 33/67] Update and rename Dockerfile.yml to docker-compose.yml --- Dockerfile.yml => docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Dockerfile.yml => docker-compose.yml (94%) diff --git a/Dockerfile.yml b/docker-compose.yml similarity index 94% rename from Dockerfile.yml rename to docker-compose.yml index bd0e4f3..82d5b36 100644 --- a/Dockerfile.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: worker: $python3 - build: . + build: .$image environment: API_ID: $API_ID API_HASH: $API_HASH From 8a301e0bf0e193c974dc42eedf781ca1897dc4a1 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:33:24 +0530 Subject: [PATCH 34/67] Update docker-compose.yml --- docker-compose.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 82d5b36..3013c75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,17 @@ version: "3.9" services: worker: $python3 - build: .$image + build: .$Pyrogram + $TgCrypto + $pyromod + $python-dotenv + $dnspython + $motor + $Pillow + $hachoir + $mutagen + $psutil + $aiofiles environment: API_ID: $API_ID API_HASH: $API_HASH From 51052e39ef87eee3dc5edadf7075dbf960fc1737 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:36:04 +0530 Subject: [PATCH 35/67] Rename docker-compose.yml to -dotenv/Dockerfile.py --- docker-compose.yml => -dotenv/Dockerfile.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-compose.yml => -dotenv/Dockerfile.py (100%) diff --git a/docker-compose.yml b/-dotenv/Dockerfile.py similarity index 100% rename from docker-compose.yml rename to -dotenv/Dockerfile.py From 5a9277638bdc63c78570b0398076449296796d98 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:37:14 +0530 Subject: [PATCH 36/67] Rename Dockerfile.py to Dockerfile --- -dotenv/{Dockerfile.py => Dockerfile} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename -dotenv/{Dockerfile.py => Dockerfile} (100%) diff --git a/-dotenv/Dockerfile.py b/-dotenv/Dockerfile similarity index 100% rename from -dotenv/Dockerfile.py rename to -dotenv/Dockerfile From caaae97fe70af8f6dfc6865c756d513ebdfa7f5c Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:40:52 +0530 Subject: [PATCH 37/67] Rename Dockerfile to configs.py --- -dotenv/{Dockerfile => configs.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename -dotenv/{Dockerfile => configs.py} (100%) diff --git a/-dotenv/Dockerfile b/-dotenv/configs.py similarity index 100% rename from -dotenv/Dockerfile rename to -dotenv/configs.py From 391165bd390e4031501344455624661a53819a27 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:42:19 +0530 Subject: [PATCH 38/67] Rename -dotenv/configs.py to docker-compose.yml --- -dotenv/configs.py => docker-compose.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename -dotenv/configs.py => docker-compose.yml (100%) diff --git a/-dotenv/configs.py b/docker-compose.yml similarity index 100% rename from -dotenv/configs.py rename to docker-compose.yml From 27d23882d581964dffca95c514574f3fdb3753bf Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:45:34 +0530 Subject: [PATCH 39/67] Update docker-compose.yml --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3013c75..104748b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,17 @@ version: "3.9" services: worker: $python3 - build: .$Pyrogram - $TgCrypto - $pyromod - $python-dotenv - $dnspython - $motor - $Pillow - $hachoir - $mutagen - $psutil - $aiofiles + -dotenv/ .$Pyrogram + $TgCrypto + $pyromod + $python-dotenv + $dnspython + $motor + $Pillow + $hachoir + $mutagen + $psutil + $aiofiles environment: API_ID: $API_ID API_HASH: $API_HASH From 46b64699a8cf76918d5ce8441245eb21137ec1d5 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 07:48:11 +0530 Subject: [PATCH 40/67] Update docker-compose.yml --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 104748b..5e9033c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,17 @@ version: "3.9" services: worker: $python3 - -dotenv/ .$Pyrogram - $TgCrypto - $pyromod - $python-dotenv - $dnspython - $motor - $Pillow - $hachoir - $mutagen - $psutil - $aiofiles + -dotenv/ .$Pyrogram + $TgCrypto + $pyromod + $python-dotenv + $dnspython + $motor + $Pillow + $hachoir + $mutagen + $psutil + $aiofiles environment: API_ID: $API_ID API_HASH: $API_HASH From 433468fb8d9abfc94e996c4d9b3293f8d62c41ed Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:07:34 +0530 Subject: [PATCH 41/67] Update docker-compose.yml --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5e9033c..3013c75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,17 @@ version: "3.9" services: worker: $python3 - -dotenv/ .$Pyrogram - $TgCrypto - $pyromod - $python-dotenv - $dnspython - $motor - $Pillow - $hachoir - $mutagen - $psutil - $aiofiles + build: .$Pyrogram + $TgCrypto + $pyromod + $python-dotenv + $dnspython + $motor + $Pillow + $hachoir + $mutagen + $psutil + $aiofiles environment: API_ID: $API_ID API_HASH: $API_HASH From efb3b959e366ee70a5540e5664d3db0dc44e04b0 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:09:16 +0530 Subject: [PATCH 42/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3013c75..9c943fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ version: "3.9" -services: +services: "worker" worker: $python3 build: .$Pyrogram $TgCrypto From f5265d59bc5a2001e9f400b50ce8ea7adbd9f361 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:10:33 +0530 Subject: [PATCH 43/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9c943fb..3013c75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ version: "3.9" -services: "worker" +services: worker: $python3 build: .$Pyrogram $TgCrypto From 64535bb85666b58ae18b65a800a9a2dba4fd91d2 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:19:40 +0530 Subject: [PATCH 44/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3013c75..325bf05 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ version: "3.9" -services: +services: $pip3 install -r requirements.txt; python3 -m bot worker: $python3 build: .$Pyrogram $TgCrypto From 7a8a0739327b522f5c17402a6927b5e5315fd449 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:21:06 +0530 Subject: [PATCH 45/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 325bf05..2635387 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" services: $pip3 install -r requirements.txt; python3 -m bot - worker: $python3 + worker: build: .$Pyrogram $TgCrypto $pyromod From 63919524931fcd308e71eb4de7085831a6896fae Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:22:53 +0530 Subject: [PATCH 46/67] Update docker-compose.yml --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2635387..3013c75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.9" -services: $pip3 install -r requirements.txt; python3 -m bot - worker: +services: + worker: $python3 build: .$Pyrogram $TgCrypto $pyromod From db2d7f049705f839594eb40bd248f1c8464081c7 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:36:21 +0530 Subject: [PATCH 47/67] Update docker-compose.yml --- docker-compose.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3013c75..76c760e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,11 @@ version: "3.9" services: worker: $python3 - build: .$Pyrogram - $TgCrypto - $pyromod - $python-dotenv - $dnspython - $motor - $Pillow - $hachoir - $mutagen - $psutil - $aiofiles + build: .from dotenv import load_dotenv + import bot.client + + load_dotenv() + bot = bot.client.Client() environment: API_ID: $API_ID API_HASH: $API_HASH From 74510d7feb6b4617b2746b8716a35fe75e4b71c1 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:39:11 +0530 Subject: [PATCH 48/67] Update docker-compose.yml --- docker-compose.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 76c760e..619126a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,7 @@ version: "3.9" services: worker: $python3 - build: .from dotenv import load_dotenv - import bot.client - - load_dotenv() - bot = bot.client.Client() + build: .load_dontev environment: API_ID: $API_ID API_HASH: $API_HASH From 20febb3e5c4b6cd970c39e8fe71f8eb43c9dae84 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:42:02 +0530 Subject: [PATCH 49/67] Rename docker-compose.yml to .load_dontev/docker-compose.yml --- docker-compose.yml => .load_dontev/docker-compose.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-compose.yml => .load_dontev/docker-compose.yml (100%) diff --git a/docker-compose.yml b/.load_dontev/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to .load_dontev/docker-compose.yml From 820498578a5423da4794d325901027e5bf8eeb7f Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 08:42:59 +0530 Subject: [PATCH 50/67] Rename .load_dontev/docker-compose.yml to docker-compose.yml --- .load_dontev/docker-compose.yml => docker-compose.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .load_dontev/docker-compose.yml => docker-compose.yml (100%) diff --git a/.load_dontev/docker-compose.yml b/docker-compose.yml similarity index 100% rename from .load_dontev/docker-compose.yml rename to docker-compose.yml From e87e1e77a0946138fb46566aa816465499057591 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 11:45:34 +0530 Subject: [PATCH 51/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 619126a..e7b4f83 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: worker: $python3 - build: .load_dontev + build: .@MOVIE_HOUSE11 environment: API_ID: $API_ID API_HASH: $API_HASH From 4ef104d1f94da3210e91ff64925d2a43c7f061b8 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 13:33:56 +0530 Subject: [PATCH 52/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e7b4f83..2c9cd00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: worker: $python3 - build: .@MOVIE_HOUSE11 + build: .MOVIE_HOUSE11 environment: API_ID: $API_ID API_HASH: $API_HASH From 57b26b39e51953a4254bebba0f02df6769a03a13 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 13:36:26 +0530 Subject: [PATCH 53/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2c9cd00..8c7b99b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: worker: $python3 - build: .MOVIE_HOUSE11 + build: .MOVIE_HOUSE11/.MOVIE_HOUSE11/Dockerfile environment: API_ID: $API_ID API_HASH: $API_HASH From 15aa2a9f9571ba7f2e2658a1b1399041028edfb8 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 14:06:42 +0530 Subject: [PATCH 54/67] Rename docker-compose.yml/configs.py to docker-compose.yml From 224a3c74fbc2e73b2df8dfda55d3cd0bb11d71b6 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Sun, 29 May 2022 14:08:19 +0530 Subject: [PATCH 55/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8c7b99b..2c9cd00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.9" services: worker: $python3 - build: .MOVIE_HOUSE11/.MOVIE_HOUSE11/Dockerfile + build: .MOVIE_HOUSE11 environment: API_ID: $API_ID API_HASH: $API_HASH From c3f04bdefebc0dd1f7c13bdff93e14b62afc69e4 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 15:34:04 +0530 Subject: [PATCH 56/67] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2c9cd00..4296326 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: DOWNLOAD_DIR: $DOWNLOAD_DIR LOGGER: $logging OWNER_ID: $OWNER_ID - PRO_USERS: $PRO_USERS + PRO_USERS: $OWNER_ID MONGODB_URI: $MONGODB_URI LOG_CHANNEL: $LOG_CHANNEL BROADCAST_AS_COPY: $BROADCAST_AS_COPY From f44708bf3312824742a974973173a8655ea2a604 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 15:44:53 +0530 Subject: [PATCH 57/67] Create MOVIE_HOUSE11 --- MOVIE_HOUSE11 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 MOVIE_HOUSE11 diff --git a/MOVIE_HOUSE11 b/MOVIE_HOUSE11 new file mode 100644 index 0000000..cc00f63 --- /dev/null +++ b/MOVIE_HOUSE11 @@ -0,0 +1,29 @@ +import os +import logging + +logging.basicConfig( + format='%(name)s - %(levelname)s - %(message)s', + handlers=[logging.FileHandler('log.txt'), + logging.StreamHandler()], + level=logging.INFO +) + + +class Config(object): + API_ID = int(os.environ.get("API_ID", "")) + API_HASH = os.environ.get("API_HASH", "") + BOT_TOKEN = os.environ.get("BOT_TOKEN", "") + DOWNLOAD_DIR = os.environ.get("DOWNLOAD_DIR", "./downloads") + LOGGER = logging + OWNER_ID = int(os.environ.get("OWNER_ID", 1445283714)) + PRO_USERS = list(set(int(x) for x in os.environ.get("PRO_USERS", "0").split())) + PRO_USERS.append(OWNER_ID) + MONGODB_URI = os.environ.get("MONGODB_URI", "") + LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "-100")) + BROADCAST_AS_COPY = bool(os.environ.get("BROADCAST_AS_COPY", "False")) +© 2022 GitHub, Inc. +Terms +Privacy +Security +Status +Docs From d8470c8a5b83828e447795ae9153bba16aadec01 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 15:57:46 +0530 Subject: [PATCH 58/67] Delete MOVIE_HOUSE11 --- MOVIE_HOUSE11 | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 MOVIE_HOUSE11 diff --git a/MOVIE_HOUSE11 b/MOVIE_HOUSE11 deleted file mode 100644 index cc00f63..0000000 --- a/MOVIE_HOUSE11 +++ /dev/null @@ -1,29 +0,0 @@ -import os -import logging - -logging.basicConfig( - format='%(name)s - %(levelname)s - %(message)s', - handlers=[logging.FileHandler('log.txt'), - logging.StreamHandler()], - level=logging.INFO -) - - -class Config(object): - API_ID = int(os.environ.get("API_ID", "")) - API_HASH = os.environ.get("API_HASH", "") - BOT_TOKEN = os.environ.get("BOT_TOKEN", "") - DOWNLOAD_DIR = os.environ.get("DOWNLOAD_DIR", "./downloads") - LOGGER = logging - OWNER_ID = int(os.environ.get("OWNER_ID", 1445283714)) - PRO_USERS = list(set(int(x) for x in os.environ.get("PRO_USERS", "0").split())) - PRO_USERS.append(OWNER_ID) - MONGODB_URI = os.environ.get("MONGODB_URI", "") - LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "-100")) - BROADCAST_AS_COPY = bool(os.environ.get("BROADCAST_AS_COPY", "False")) -© 2022 GitHub, Inc. -Terms -Privacy -Security -Status -Docs From 30b7e03ed5462569b4556a2656e8f1a06800cb8d Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 15:58:29 +0530 Subject: [PATCH 59/67] Create Dockerfile --- . MOVIE_HOUSE11/Dockerfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 . MOVIE_HOUSE11/Dockerfile diff --git a/. MOVIE_HOUSE11/Dockerfile b/. MOVIE_HOUSE11/Dockerfile new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/. MOVIE_HOUSE11/Dockerfile @@ -0,0 +1 @@ + From b49bc1e6426ea6a13e12d357f2025073ef2df8cd Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 15:59:14 +0530 Subject: [PATCH 60/67] Update Dockerfile --- . MOVIE_HOUSE11/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/. MOVIE_HOUSE11/Dockerfile b/. MOVIE_HOUSE11/Dockerfile index 8b13789..4296326 100644 --- a/. MOVIE_HOUSE11/Dockerfile +++ b/. MOVIE_HOUSE11/Dockerfile @@ -1 +1,16 @@ +version: "3.9" +services: + worker: $python3 + build: .MOVIE_HOUSE11 + environment: + API_ID: $API_ID + API_HASH: $API_HASH + BOT_TOKEN: $BOT_TOKEN + DOWNLOAD_DIR: $DOWNLOAD_DIR + LOGGER: $logging + OWNER_ID: $OWNER_ID + PRO_USERS: $OWNER_ID + MONGODB_URI: $MONGODB_URI + LOG_CHANNEL: $LOG_CHANNEL + BROADCAST_AS_COPY: $BROADCAST_AS_COPY From a7cb9a75277485983ccec12918540ab1d14d9e72 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 16:00:20 +0530 Subject: [PATCH 61/67] Update Dockerfile --- . MOVIE_HOUSE11/Dockerfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/. MOVIE_HOUSE11/Dockerfile b/. MOVIE_HOUSE11/Dockerfile index 4296326..8b13789 100644 --- a/. MOVIE_HOUSE11/Dockerfile +++ b/. MOVIE_HOUSE11/Dockerfile @@ -1,16 +1 @@ -version: "3.9" -services: - worker: $python3 - build: .MOVIE_HOUSE11 - environment: - API_ID: $API_ID - API_HASH: $API_HASH - BOT_TOKEN: $BOT_TOKEN - DOWNLOAD_DIR: $DOWNLOAD_DIR - LOGGER: $logging - OWNER_ID: $OWNER_ID - PRO_USERS: $OWNER_ID - MONGODB_URI: $MONGODB_URI - LOG_CHANNEL: $LOG_CHANNEL - BROADCAST_AS_COPY: $BROADCAST_AS_COPY From 9d2f794abaa93fd48749e320c9f01aa4c8b8669f Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Mon, 30 May 2022 16:01:45 +0530 Subject: [PATCH 62/67] Update Dockerfile --- . MOVIE_HOUSE11/Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/. MOVIE_HOUSE11/Dockerfile b/. MOVIE_HOUSE11/Dockerfile index 8b13789..bd6e29b 100644 --- a/. MOVIE_HOUSE11/Dockerfile +++ b/. MOVIE_HOUSE11/Dockerfile @@ -1 +1,25 @@ +# (c) @AbirHasan2005 +import os +import logging + +logging.basicConfig( + format='%(name)s - %(levelname)s - %(message)s', + handlers=[logging.FileHandler('log.txt'), + logging.StreamHandler()], + level=logging.INFO +) + + +class Config(object): + API_ID = int(os.environ.get("API_ID", "")) + API_HASH = os.environ.get("API_HASH", "") + BOT_TOKEN = os.environ.get("BOT_TOKEN", "") + DOWNLOAD_DIR = os.environ.get("DOWNLOAD_DIR", "./downloads") + LOGGER = logging + OWNER_ID = int(os.environ.get("OWNER_ID", 1445283714)) + PRO_USERS = list(set(int(x) for x in os.environ.get("PRO_USERS", "0").split())) + PRO_USERS.append(OWNER_ID) + MONGODB_URI = os.environ.get("MONGODB_URI", "") + LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "-100")) + BROADCAST_AS_COPY = bool(os.environ.get("BROADCAST_AS_COPY", "False")) From 8bca987e07a98661a4d9c4bbf2cb6f6b3bc20e95 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Tue, 31 May 2022 16:23:15 +0530 Subject: [PATCH 63/67] Delete . MOVIE_HOUSE11 directory --- . MOVIE_HOUSE11/Dockerfile | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 . MOVIE_HOUSE11/Dockerfile diff --git a/. MOVIE_HOUSE11/Dockerfile b/. MOVIE_HOUSE11/Dockerfile deleted file mode 100644 index bd6e29b..0000000 --- a/. MOVIE_HOUSE11/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -# (c) @AbirHasan2005 - -import os -import logging - -logging.basicConfig( - format='%(name)s - %(levelname)s - %(message)s', - handlers=[logging.FileHandler('log.txt'), - logging.StreamHandler()], - level=logging.INFO -) - - -class Config(object): - API_ID = int(os.environ.get("API_ID", "")) - API_HASH = os.environ.get("API_HASH", "") - BOT_TOKEN = os.environ.get("BOT_TOKEN", "") - DOWNLOAD_DIR = os.environ.get("DOWNLOAD_DIR", "./downloads") - LOGGER = logging - OWNER_ID = int(os.environ.get("OWNER_ID", 1445283714)) - PRO_USERS = list(set(int(x) for x in os.environ.get("PRO_USERS", "0").split())) - PRO_USERS.append(OWNER_ID) - MONGODB_URI = os.environ.get("MONGODB_URI", "") - LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "-100")) - BROADCAST_AS_COPY = bool(os.environ.get("BROADCAST_AS_COPY", "False")) From a124dfae97cd2fdb85a27ebfab5f6943fafeea9a Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Tue, 31 May 2022 16:23:39 +0530 Subject: [PATCH 64/67] Delete docker-compose.yml --- docker-compose.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 4296326..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: "3.9" -services: - worker: $python3 - build: .MOVIE_HOUSE11 - environment: - API_ID: $API_ID - API_HASH: $API_HASH - BOT_TOKEN: $BOT_TOKEN - DOWNLOAD_DIR: $DOWNLOAD_DIR - LOGGER: $logging - OWNER_ID: $OWNER_ID - PRO_USERS: $OWNER_ID - MONGODB_URI: $MONGODB_URI - LOG_CHANNEL: $LOG_CHANNEL - BROADCAST_AS_COPY: $BROADCAST_AS_COPY - From a336d6db91c44483583882b3fc0bab6a48b3cdc1 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Tue, 31 May 2022 16:29:41 +0530 Subject: [PATCH 65/67] Create Dockerfil --- Dockerfil | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfil diff --git a/Dockerfil b/Dockerfil new file mode 100644 index 0000000..53a2704 --- /dev/null +++ b/Dockerfil @@ -0,0 +1,23 @@ +FROM debian:latest + + + +RUN apt update && apt upgrade -y + +RUN apt install git curl python3-pip ffmpeg -y + +RUN pip3 install -U pip + +RUN cd / + +RUN git clone https://github.com/Joy-nath/Rename-Bot/new/main + +RUN cd PROJECTNAMEHERE + +WORKDIR /PROJECTNAMEHERE + +RUN pip3 install -U -r requirements.txt + +CMD python3 PROCFILE + + From a738ec7f07fe87bb4cf9b9732d1dc258060f3c13 Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Tue, 31 May 2022 16:58:46 +0530 Subject: [PATCH 66/67] Update and rename Dockerfil to Dockerfile --- Dockerfil => Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename Dockerfil => Dockerfile (58%) diff --git a/Dockerfil b/Dockerfile similarity index 58% rename from Dockerfil rename to Dockerfile index 53a2704..2397983 100644 --- a/Dockerfil +++ b/Dockerfile @@ -10,14 +10,14 @@ RUN pip3 install -U pip RUN cd / -RUN git clone https://github.com/Joy-nath/Rename-Bot/new/main +RUN git clone https://github.com/Joy-nath/Rename-Bot -RUN cd PROJECTNAMEHERE +RUN cd Rename-Bot -WORKDIR /PROJECTNAMEHERE +WORKDIR /Rename-Bot RUN pip3 install -U -r requirements.txt -CMD python3 PROCFILE +CMD python3 From 8ab3aeede1fda746b8a9b4a25aa4befb61b45fed Mon Sep 17 00:00:00 2001 From: Joy-nath <101708815+Joy-nath@users.noreply.github.com> Date: Tue, 31 May 2022 16:59:54 +0530 Subject: [PATCH 67/67] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2397983..15bcfd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,6 @@ WORKDIR /Rename-Bot RUN pip3 install -U -r requirements.txt -CMD python3 +CMD python3 -m bot