The Spotify API Web@cademy students should use for their "rush".
.sql file provided by the Intranetdocker-compose.yml at the root of your project
assuming the .sql file is called my_spotify_db.sql, the docker-compose.yml should look like this:version: "3"
services:
api:
image: matfire/spotitech
environment:
- DB_HOST=db
- DB_PORT=3306
ports:
- "8000:3000"
restart: "unless-stopped"
depends_on:
- db
db:
image: mysql
volumes:
- ./my_spotify_db.sql:/docker-entrypoint-initdb.d/dump.sql
- ./data/:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=toor
- MYSQL_DATABASE=spotify
- MYSQL_USER=spoty
- MYSQL_PASSWORD=spotypwd
docker-compose up -ddocker pull matfire/spotitech:latest