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:
|
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue