chore: update Docker configuration for local development

- Add docker-compose.override.yml to .gitignore to prevent it from being included in production.
- Modify docker-compose.yaml to ensure the frontend service depends on the backend service.
This commit is contained in:
Alexis
2026-04-28 10:12:32 +02:00
parent 1ebc5b6634
commit 3e59c2caaa
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@ __pycache__/
.env.local .env.local
.env.*.local .env.*.local
# Override de Docker Compose para desarrollo local (no debe llegar a producción)
docker-compose.override.yml
# Configuraciones del editor # Configuraciones del editor
.vscode/ .vscode/
.idea/ .idea/
+2
View File
@@ -21,6 +21,8 @@ services:
volumes: volumes:
- ./frontend:/app - ./frontend:/app
- /app/node_modules - /app/node_modules
depends_on:
- backend
db: db:
image: mongo:4.4 image: mongo:4.4