deployment.md
docs
deployment.md
🚢 Production Deployment Guide
Deploying Asteri in a production environment requires careful configuration to ensure maximum security, performance, and uptime. This guide outlines the best practices for hosting Asteri-powered applications.
🛡️ Reverse Proxy Architecture (Nginx)
Nginx should handle SSL termination and static file serving, forwarding application requests to Asteri. This improves performance and provides an additional layer of security.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
⚙️ Process Management (Systemd)
Using Systemd ensures that Asteri starts automatically on boot and restarts if it crashes. Create a service file at /etc/systemd/system/asteri.service:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
Managing the Service
1 2 3 4 5 6 7 8 9 | |
🐳 Docker Deployment
You can also containerize your Asteri application.
1 2 3 4 5 6 7 8 9 10 | |