5d60d33db1
Volledige Foodlinkk Command Center uitbreiding met social automatisering, reclamefolder filters, Proxmox monitoring en documentatie.
1.2 KiB
1.2 KiB
Deploy
Vereisten
- Docker + Docker Compose op VM106
- PostgreSQL container
foodlinkk_db - SSH toegang:
aissa@10.4.7.18
Eén deploy (aanbevolen)
Vanaf de monorepo root:
chmod +x deploy-all.sh
./deploy-all.sh
Het script:
- Rsync't de volledige codebase naar
~/foodlinkk-command-centerop VM106 - Voert alle SQL migraties uit (
migrations/*.sql) - Bouwt en herstart containers (
tools-api,cockpit,email-agent,browser-agent) - Voert health checks uit
Omgevingsvariabelen
Kopieer .env.example naar .env op de host. Gevoelige waarden nooit committen.
Gitea
Repository host: http://10.4.7.18:3001
git init
git remote add origin http://10.4.7.18:3001/aissa/foodlinkk-command-center.git
git add .
git commit -m "Platform bundle: ops, packaging, marketing publish"
git push -u origin main
Handmatige migratie (indien nodig)
docker exec -i foodlinkk_db psql -U aissa -d foodlinkk < migrations/016_platform_ops_packaging.sql
Health checks
curl http://10.4.7.18:8700/health
curl -o /dev/null -w "%{http_code}\n" http://10.4.7.18:8600/marketing
curl -o /dev/null -w "%{http_code}\n" http://10.4.7.18:8600/ops