fix: Correct build context in docker-compose.dev.yml (use ./backend not .)
Some checks failed
Lint and Build / Lint (push) Failing after 4s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped

This commit is contained in:
goose 2026-02-20 13:19:30 -03:00
parent e9df8a475c
commit dd95aadb62

View file

@ -1,22 +1,22 @@
services:
backend:
build:
context: .
context: ./backend
dockerfile: docker/Dockerfile.dev
args:
BUILDKIT_INLINE_CACHE: 0
pull_policy: build
container_name: normogen-backend-dev
ports:
- '6500:8000' # Changed from 6800 to 6500 as requested
- '6500:8000'
volumes:
- ./src:/app/src
- ./backend/src:/app/src
environment:
- RUST_LOG=debug
- SERVER_PORT=8000
- SERVER_HOST=0.0.0.0
- MONGODB_URI=mongodb://mongodb:27017
- MONGODB_DATABASE=normogen_dev # Fixed: was DATABASE_NAME, should be MONGODB_DATABASE
- MONGODB_DATABASE=normogen_dev
- JWT_SECRET=dev-jwt-secret-key-minimum-32-chars
depends_on:
mongodb: