From 2ad5a7b1f49704baf7b890fcfda7a87fddd456f7 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 19 Feb 2025 23:20:10 +0100 Subject: [PATCH] Changed server. --- compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 0090fff..0a42856 100644 --- a/compose.yml +++ b/compose.yml @@ -9,8 +9,8 @@ services: environment: - PYTHONDONTWRITEBYTECODE=1 - PYTHONUNBUFFERED=1 - #entrypoint: ["gunicorn", "-w", "1", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"] - entrypoint: ["python","-m","snek.app"] + entrypoint: ["gunicorn", "-w", "4", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"] + #entrypoint: ["python","-m","snek.app"] snecssh: build: context: .