Files
foodlinkk-command-center/docs/DEPLOY.md
T
Aissa 5d60d33db1 Platform bundle: marketing publish, IT ops, packaging, agents mesh.
Volledige Foodlinkk Command Center uitbreiding met social automatisering,
reclamefolder filters, Proxmox monitoring en documentatie.
2026-06-09 00:41:27 +00:00

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:

  1. Rsync't de volledige codebase naar ~/foodlinkk-command-center op VM106
  2. Voert alle SQL migraties uit (migrations/*.sql)
  3. Bouwt en herstart containers (tools-api, cockpit, email-agent, browser-agent)
  4. 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