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: services:
backend: backend:
build: build:
context: . context: ./backend
dockerfile: docker/Dockerfile.dev dockerfile: docker/Dockerfile.dev
args: args:
BUILDKIT_INLINE_CACHE: 0 BUILDKIT_INLINE_CACHE: 0
pull_policy: build pull_policy: build
container_name: normogen-backend-dev container_name: normogen-backend-dev
ports: ports:
- '6500:8000' # Changed from 6800 to 6500 as requested - '6500:8000'
volumes: volumes:
- ./src:/app/src - ./backend/src:/app/src
environment: environment:
- RUST_LOG=debug - RUST_LOG=debug
- SERVER_PORT=8000 - SERVER_PORT=8000
- SERVER_HOST=0.0.0.0 - SERVER_HOST=0.0.0.0
- MONGODB_URI=mongodb://mongodb:27017 - 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 - JWT_SECRET=dev-jwt-secret-key-minimum-32-chars
depends_on: depends_on:
mongodb: mongodb: