Update docker compose to include database
Create Docker containers for 3 parts of app:
- api
- database
- frontend
Run docker-compose up -d
to build containers:
Navigate to FE + BE endpoints in localhost:
- FE is http://localhost:5173/
- BE is http://localhost:8080/
Verify database is working by accessing database container:
docker exec -it mpic-database mariadb -u root -pmariasecret
- run
use mpic;
- run
select * from instruments;
to see fake data
Bug: T361059