For this example, we have defined a database schema (See [SPOT -- Database Schema.pdf](SPOT -- Database Schema.pdf)). We use :
- a docker-compose.yml file to deploy a MySQL database
- and docker volumes to ingest CSV files using scripts
To link others containers (api and front) with the database container, we use external docker network. If it is not already done, create it:
docker network create spot-network
Then, you can deploy the database and let it ingest your data:
docker-compose up -d