Commit graph

2 commits

Author SHA1 Message Date
MatheusAlves96
d99978cd7a fix(backend): never run seed.py in production
All checks were successful
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 38s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 3m12s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Successful in 1m8s
entrypoint.sh now requires RUN_SEED=true to execute the seed script.
Without it, only 'flask db upgrade heads' runs on container start.

docker-compose.yml (dev) sets RUN_SEED=true and RUN_CSV_IMPORT=true
so local development behaviour is unchanged.

Production (docker-compose.prod.yml) does not set these variables,
so the database is no longer wiped on every deploy.
2026-04-23 00:03:56 -03:00
MatheusAlves96
e6cb06255b feat: add full project - backend, frontend, docker, specs and configs 2026-04-20 23:59:45 -03:00