Changed server.

This commit is contained in:
retoor 2025-02-19 23:20:10 +01:00
parent 736123c4aa
commit 2ad5a7b1f4

View File

@ -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: .