feat: Add database migrations and auth system
- Add Alembic for database migrations - Implement user authentication system - Update frontend styles and components - Add new test audio functionality - Update stream management and UI
This commit is contained in:
22
dicta2stream.service
Normal file
22
dicta2stream.service
Normal file
@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Dicta2Stream FastAPI application (Gunicorn)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=oib
|
||||
Group=www-data
|
||||
WorkingDirectory=/home/oib/games/dicta2stream
|
||||
Environment="PATH=/home/oib/games/dicta2stream/venv/bin"
|
||||
Environment="PYTHONPATH=/home/oib/games/dicta2stream"
|
||||
ExecStart=/home/oib/games/dicta2stream/venv/bin/gunicorn -c gunicorn_config.py main:app
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
# Security
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=read-only
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user