From 12fcb9bfe1174dfff539f3e6367d55f10d59578c Mon Sep 17 00:00:00 2001 From: Mary Date: Fri, 16 Aug 2024 18:25:29 +0300 Subject: [PATCH] docker --- .env | 8 ++--- .idea/workspace.xml | 22 ++++--------- README | 29 +++++++++++++++++ bot.py | 1 - database_queries.py | 8 ----- docker-compose.yaml | 30 ++++++++++------- main.py | 7 +++- utils.py | 79 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 143 insertions(+), 41 deletions(-) diff --git a/.env b/.env index a84c7bf..a0ced8e 100644 --- a/.env +++ b/.env @@ -1,10 +1,10 @@ -API_TOKEN = "6594413238:AAFahDg955k1GE9a4JE9T9yHyQoJZV5TFEk" +API_TOKEN = "" TO_ADRESS = 'TRFBWmb5NkvKuQpYyPaYzZAX46VCUJtiq1' ARBITRUM_API_KEY = 'P61RFT45N63PJYT5MDY1CEHG1US1C5KZZ4' ARBITRUM_ADRESS = '683dc0af0d3797523104b57a7889b97a5871fbbb' ACCOUNT_ID_YK = '438627' SECRET_KEY_YK = 'test_c4W1yT9yzc8WT-d1YvJKGX59yOfXBMpeNtWegH2uJqo' -DB_HOST = "localhost" -DB_USER = "root" -DB_PASSWORD = "vy!f..rVJ7t9tmG" +DB_HOST = "db" +DB_USER = "" +DB_PASSWORD = "" DB_DATABASE = "subscriptions" \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9377c4c..2ed0888 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,22 +5,12 @@ - - - - - - - - - - - - - - - - + + + + + +