From 827b178caa926a8e9d07f56ee43e468b6b75486d Mon Sep 17 00:00:00 2001 From: andrei Date: Tue, 3 Dec 2024 09:45:14 +0500 Subject: [PATCH 1/2] =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 5bc7af3..55cb411 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ __pycache__ /protect.moona /main.log +.idea +.idea/ \ No newline at end of file From 638dc529da81ea148082fcae528fecf0157a5413 Mon Sep 17 00:00:00 2001 From: andrei Date: Tue, 3 Dec 2024 10:46:01 +0500 Subject: [PATCH 2/2] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=20=D0=BE=D0=B3=D1=80=D0=B0=D0=BD=D0=B8=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=BE=D0=B8=D0=B7=D0=B2=D0=BE=D0=B4=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B5=D0=B9=D0=BD=D0=B5?= =?UTF-8?q?=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 27a0cee..6ce0daa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,3 +10,13 @@ services: environment: - SECRET_KEY=your-secret-key restart: always + ports: + - "5000:5000" + deploy: + resources: + limits: + memory: 512M + cpus: "0.5" + reservations: + memory: 128M + cpus: "0.2"