Add JWT token-based authentication to Docker server and client. Refactor server architecture for better code organization and error handling. Move Dockerfile to root deploy directory and update configuration. Add comprehensive documentation and examples. BREAKING CHANGE: Docker server now requires authentication by default. Endpoints require JWT tokens when security.jwt_enabled is true in config.
12 lines
375 B
Plaintext
12 lines
375 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 300 --graceful-timeout 60 --keep-alive 65 --log-level debug --worker-class uvicorn.workers.UvicornWorker --max-requests 1000 --max-requests-jitter 50 server:app
|
|
autorestart=true
|
|
priority=20 |