API to get lyrics from Genius. As easy as make a GET to /?q=name+of+the+song+name+of+artist
docker network create lyrics-api
docker run -d \
--restart unless-stopped \
--name lyrics-api-mongo \
--network lyrics-api \
-v $(pwd)/data:/data/db \
mongo
docker run -d \
--restart unless-stopped \
--name lyrics-api-mongo-express \
--network lyrics-api \
-e ME_CONFIG_MONGODB_SERVER=lyrics-api-mongo \
mongo-express
docker run -d \
--restart unless-stopped \
--name lyrics-api-app \
--network lyrics-api \
-e GENIUS_API=xxxxxxxxxxxxxxxxxxxxxxx \
-e PORT=3000 \
-e MONGO_URL=mongodb://lyrics-api-mongo:27017 \
victor141516/lyrics-api
Not you have to reverse proxy somehow that lyrics-api-app container and expose the port 3000
Content type
Image
Digest
Size
82.5 MB
Last updated
over 5 years ago
docker pull victor141516/lyrics-api