Ansible: volledige MVP stack deployen via playbook #41

Open
opened 2026-03-30 12:33:13 +02:00 by coornhert · 0 comments
Owner

Beschrijving

De MVP is nu handmatig gedeployed. Alles moet via ansible-playbook ansible/site.yml reproduceerbaar zijn.

Huidige staat (handmatig)

  • FastAPI app: systemd service, handmatig aangemaakt
  • Meilisearch: docker run handmatig
  • Qdrant: docker run handmatig
  • Grondwet data: handmatig gecloned en geparsed
  • AI-samenvatting: handmatig gegenereerd
  • Nginx wetgit.nl vhost: handmatig aangemaakt
  • SSL cert wetgit.nl: handmatig via certbot

Gewenst

Alles via Ansible roles:

  • Meilisearch + Qdrant toevoegen aan docker-compose.yml
  • wetgit-app role: FastAPI systemd service met env vars
  • wetgit-nginx role: wetgit.nl vhost toevoegen
  • Post-deploy: index.json genereren, Meilisearch indexeren, Qdrant indexeren
  • Post-deploy: AI-samenvatting genereren (als die ontbreekt)
  • gai.conf IPv4 preference toevoegen aan server setup

Constraints

  • GEEN impact op dt-platform services
  • GEEN wijzigingen aan globale nginx.conf
  • Eigen Docker netwerk (wetgit-network)
  • Eigen poorten (8002, 7700, 6333)
## Beschrijving De MVP is nu handmatig gedeployed. Alles moet via `ansible-playbook ansible/site.yml` reproduceerbaar zijn. ## Huidige staat (handmatig) - FastAPI app: systemd service, handmatig aangemaakt - Meilisearch: `docker run` handmatig - Qdrant: `docker run` handmatig - Grondwet data: handmatig gecloned en geparsed - AI-samenvatting: handmatig gegenereerd - Nginx wetgit.nl vhost: handmatig aangemaakt - SSL cert wetgit.nl: handmatig via certbot ## Gewenst Alles via Ansible roles: - [ ] Meilisearch + Qdrant toevoegen aan docker-compose.yml - [ ] wetgit-app role: FastAPI systemd service met env vars - [ ] wetgit-nginx role: wetgit.nl vhost toevoegen - [ ] Post-deploy: index.json genereren, Meilisearch indexeren, Qdrant indexeren - [ ] Post-deploy: AI-samenvatting genereren (als die ontbreekt) - [ ] `gai.conf` IPv4 preference toevoegen aan server setup ## Constraints - GEEN impact op dt-platform services - GEEN wijzigingen aan globale nginx.conf - Eigen Docker netwerk (wetgit-network) - Eigen poorten (8002, 7700, 6333)
coornhert added this to the MVP — Grondwet vertical slice milestone 2026-03-30 12:33:13 +02:00
coornhert added the
type:infra
label 2026-03-30 12:33:13 +02:00
Sign in to join this conversation.
No description provided.