From c8e8ec70e619f6684470519207ef3810cf7645a2 Mon Sep 17 00:00:00 2001 From: andrei Date: Fri, 6 Dec 2024 12:45:47 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=80=D1=82=D1=8B=20=D0=B2=20=D0=B4=D0=BE=D0=BA?= =?UTF-8?q?=D0=B5=D1=80=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D1=83=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ docker-compose.yml | 10 ++++++++++ 2 files changed, 12 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 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"