ucprojects-backend / docker-compose.yml
AdeshRathod
Add initial project structure with FastAPI backend and React frontend
272199f
Raw History Blame Contribute Delete
316 Bytes
version: '3.8'
services:
backend:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
environment:
- MONGODB_URI=${MONGODB_URI}
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
- backend