add webservice boilerplate snippet
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-07-14 17:58:43 +02:00
parent 43678c69fb
commit 921a784fc0
3 changed files with 40 additions and 0 deletions

4
snippets/websrv/server.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
./.venv/bin/gunicorn main:app -k uvicorn.workers.UvicornWorker -w 4 -b 0.0.0.0:8000