fix: Correct build context in docker-compose.dev.yml (use ./backend not .)
This commit is contained in:
parent
e9df8a475c
commit
dd95aadb62
1 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue