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:
@@ -9,6 +9,9 @@ __pycache__/
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Override de Docker Compose para desarrollo local (no debe llegar a producción)
|
||||
docker-compose.override.yml
|
||||
|
||||
# Configuraciones del editor
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
@@ -21,6 +21,8 @@ services:
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
db:
|
||||
image: mongo:4.4
|
||||
|
||||
Reference in New Issue
Block a user