Update UI and migrations, fix dockerfile

This commit is contained in:
Your Name
2026-07-18 21:29:05 +05:00
parent 580c75cbf6
commit 26ef145ccf
95 changed files with 9541 additions and 111 deletions
+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=Forma N8 public website
After=network.target postgresql.service
Wants=postgresql.service
[Service]
Type=simple
User=forma-n8
Group=forma-n8
WorkingDirectory=/opt/forma-n8
EnvironmentFile=/etc/forma-n8.env
Environment=PYTHONPATH=/opt/forma-n8/src
ExecStart=/opt/forma-n8/.venv/bin/uvicorn forma_n8_site.app:app --host 127.0.0.1 --port 8090 --proxy-headers
Restart=always
RestartSec=3
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/forma-n8
[Install]
WantedBy=multi-user.target