Platforms
Guides de déploiement : VPS Ubuntu + Nginx + systemd (principal), Docker.
VPS Ubuntu + Nginx + systemd
Recommandé pour héberger une app BPM sur un serveur dédié.
- Serveur : Ubuntu (ou Debian), Python 3.9+,
pip install blueprint-modular. - Service systemd : unit file pour lancer
bpm run app.pyau démarrage. - Nginx : vhost en reverse proxy vers le port où BPM écoute (ex. 8501), avec proxy WebSocket si nécessaire.
- SSL : Certbot (Let's Encrypt) pour HTTPS.
# Exemple unit systemd (résumé)
[Service]
ExecStart=/usr/bin/python3 -m bpm run /var/www/myapp/app.py
WorkingDirectory=/var/www/myapp
Docker
# Dockerfile type
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt blueprint-modular
COPY . .
EXPOSE 8501
CMD ["bpm", "run", "app.py", "--server.port=8501"]
Il n'existe pas de plateforme « BPM Cloud » pour l'instant.
Voir aussi le guide détaillé dans le repo : DEPLOIEMENT_DOMAINE.md (DNS, Nginx, Certbot, scripts de déploiement).