Add current project files

This commit is contained in:
Murtadha 2024-07-11 15:41:21 -04:00
parent 250ecbe1e5
commit 34e4244d65
32 changed files with 6470 additions and 0 deletions

32
docker-compose.yaml Normal file
View file

@ -0,0 +1,32 @@
version: '3.8'
services:
backend:
build: ./backend
ports:
- "5000:5000"
# environment:
# - MONGO_URI=mongodb://mongo:27017/portfolio
# - JWT_SECRET=your_jwt_secret
volumes:
- ./backend:/usr/src/app
depends_on:
- mongo
frontend:
build: ./frontend
ports:
- "5173:5173"
volumes:
- ./frontend:/usr/src/app
command: npm run dev
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
volumes:
mongo-data: