1.5 KiB
1.5 KiB
Parlo Styring Deployment Guide
Coolify Dashboard
The app is deployed via Coolify at the machinemachine.ai infrastructure.
Auto-Deploy
Pushes to main branch trigger automatic deployment via Forgejo webhook.
# Make changes
git add -A
git commit -m "feat: new feature"
git push origin main
# → Coolify builds and deploys automatically
Manual Deploy
If webhook fails, deploy manually via Coolify UI:
- Go to Coolify dashboard
- Find
parlo-styringapp - Click "Redeploy"
Environment Updates
To update environment variables:
- Coolify dashboard → parlo-styring → Environment
- Edit variables
- Save & Redeploy
Monitoring
Health Check
curl https://parlo.machinemachine.ai/api/health
Logs
View in Coolify dashboard → parlo-styring → Logs
Container Status
# Via Coolify API or dashboard
# Status should show: running:healthy
Rollback
- Coolify dashboard → parlo-styring → Deployments
- Find previous successful deployment
- Click "Rollback"
DNS / SSL
- Domain: parlo.machinemachine.ai
- SSL: Auto-managed by Traefik (Let's Encrypt)
- Proxy: Traefik routes traffic to container port 3000
Troubleshooting
502 Bad Gateway
- Container crashed or not started
- Check Coolify logs
- Verify health check passes
Build Failures
- Check build logs in Coolify
- Common: dependency issues, TypeScript errors
- Fix locally, push again
Auth Issues
- Verify
NEXTAUTH_URLmatches domain - Check
NEXTAUTH_SECRETis set - Clear cookies and retry