Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
348 B
Desktop File
16 lines
348 B
Desktop File
[Unit]
|
|
Description=Dymini FastAPI (api.nomadro.cn/dymini)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=ubuntu
|
|
WorkingDirectory=/opt/dymini/backend
|
|
EnvironmentFile=/opt/dymini/backend/.env
|
|
ExecStart=/opt/dymini/backend/.venv/bin/uvicorn app.main:app --host 127.0.0.1 --port 8011
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|