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
|
||||||
.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/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user