Add supervisor configuration for managing Redis and Gunicorn processes Replace direct process management with supervisord Add secure and token-free API server variants Implement JWT authentication for protected endpoints Update datetime handling in async dispatcher Add email domain verification BREAKING CHANGE: Server startup now uses supervisord instead of direct process management
12 lines
313 B
Plaintext
12 lines
313 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:redis]
|
|
command=redis-server
|
|
autorestart=true
|
|
priority=10
|
|
|
|
[program:gunicorn]
|
|
command=gunicorn --bind 0.0.0.0:8000 --workers 4 --threads 2 --timeout 120 --graceful-timeout 30 --log-level info --worker-class uvicorn.workers.UvicornWorker server:app
|
|
autorestart=true
|
|
priority=20 |