add readme and dockers and make this presentable lol

This commit is contained in:
2024-07-13 22:05:17 +03:00
parent bbce1fb05f
commit 0c3ec631f6
6 changed files with 100 additions and 1 deletions

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "1307:80" # Map port 80 of the frontend container to port 3000 on localhost
depends_on:
- backend # Ensure backend service is started before frontend
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "1308:8080" # Map port 8080 of the backend container to port 8080 on localhost