Commit Graph

6 Commits

Author SHA1 Message Date
nogueiraguh
03db9d6b8a feat: automated setup.sh, OCIR login helper with encrypted credentials, README updates 2026-04-03 17:51:53 -03:00
nogueiraguh
760f008678 refactor: image-only distribution, remove compose/env/registry files 2026-04-02 16:43:20 -03:00
nogueiraguh
33ccf44e7c refactor: single container image only, update terraform and docs
- Remove two-container compose from distribution
- Single docker-compose.yml using unified OCIR image
- Update cloud-init template for single container
- README with 4 deployment options: local Docker, OCI VM (Terraform), Container Instances, Kubernetes
2026-04-02 16:40:16 -03:00
nogueiraguh
1f92f4a9b9 feat: single container image (nginx + backend), fix fresh DB init
- deploy/Dockerfile: unified image with supervisord (nginx + uvicorn)
- distribution/docker-compose.single.yml: single container option
- distribution/README.md: 3 deployment options (single, compose, docker run)
- Fix: add status column to chat_messages CREATE TABLE (was only in migration, broke fresh DB)
- push-images.sh: builds 3 images (unified, backend, frontend)
2026-04-02 15:07:45 -03:00
nogueiraguh
abf248d714 feat: distribution package v1.0 — OCIR-based deployment without source code
- distribution/: public release package (docker-compose + terraform VM + README v1.0)
- docker-compose.yml pulls pre-built images from OCIR (no build, no source code)
- terraform/: VM stack (ARM Free Tier, LB+WAF+SSL, conditional DNS/Let's Encrypt)
- Removed terraform-oke/ and k8s/ from git (private, .gitignore)
2026-04-02 13:46:28 -03:00
nogueiraguh
5efde6fcf4 feat: OCI deployment — Terraform VM + OKE stacks, OCIR, K8s manifests
- terraform-vm/: ARM VM (A1.Flex Free Tier), Docker Compose, Block Volume, LB+WAF+SSL
- terraform-oke/: OKE cluster (3 nodes Intel), NodePort, LB+WAF+SSL
- k8s/: namespace, deployments, services, PVC, secrets, configmap
- Dockerfile.frontend: self-contained nginx+dist image
- push-images.sh: multi-arch build (amd64+arm64) + push to OCIR
- dns.tf: conditional OCI DNS Zone + A record (when domain available)
- Both stacks 100% independent, no shared modules
- .gitignore: terraform state, .terraform/, *.tfvars
2026-04-02 13:19:58 -03:00