Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

101 Commits

Folders and files

Repository files navigation

botica-salud

Ask DeepWiki

Development with Docker

Requires Docker and Docker Compose. Before starting the containers, make sure .env (repo root, Postgres credentials), backend/.env and frontend/.env exist (copy them from their .env.example files if they don't). The root .env is optional: without it, Compose falls back to the same defaults as .env.example.

docker compose -f docker-compose-dev.yml up -d

The backend applies Prisma migrations automatically on startup. The backend/ and frontend/ code is mounted as a volume, so changes are reflected via hot reload without rebuilding the image. If you add a new dependency (npm install), rebuild with docker compose -f docker-compose-dev.yml build.

To stop everything: docker compose -f docker-compose-dev.yml down (add -v to also delete Postgres data).

Tip: to avoid repeating -f docker-compose-dev.yml on every command, export export COMPOSE_FILE=docker-compose-dev.yml in your shell.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages