2025-01-18 13:21:38 +01:00
|
|
|
services:
|
|
|
|
snek:
|
|
|
|
build: .
|
2025-01-18 13:23:23 +01:00
|
|
|
restart: always
|
2025-01-18 13:21:38 +01:00
|
|
|
ports:
|
|
|
|
- "8081:8081"
|
|
|
|
volumes:
|
|
|
|
- ./:/code
|
2025-01-29 17:12:25 +01:00
|
|
|
environment:
|
|
|
|
- PYTHONDONTWRITEBYTECODE="1"
|
2025-01-24 16:33:27 +01:00
|
|
|
entrypoint: ["gunicorn", "-w", "1", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"]
|
|
|
|
#["python","-m","snek.app"]
|
2025-01-24 03:28:43 +01:00
|
|
|
|