feat: Add FastAPI s6 sidecar PoC
- Sidecar DragonflyDB as Redis replacement - Run pytheus in multiprocessing mode with Redis backend
This commit is contained in:
3
s6/run_dragonfly
Normal file
3
s6/run_dragonfly
Normal file
@ -0,0 +1,3 @@
|
||||
#!/command/execlineb -P
|
||||
dragonfly --logtostderr --bind localhost --port 6379
|
||||
|
||||
3
s6/run_fastapi
Normal file
3
s6/run_fastapi
Normal file
@ -0,0 +1,3 @@
|
||||
#!/command/execlineb -P
|
||||
/bin/sh -c "cd /code && gunicorn app.main:app --workers 2 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:80"
|
||||
|
||||
Reference in New Issue
Block a user