Awesome
JikanREST Docker
🐳 A docker stack for Jikan REST API:
Installation
Build/run containers with docker-compose
:
$ docker-compose build
$ docker-compose up -d
Build/run with your own redis server:
vim .env # change REDIS_HOST
vim Dockerfile # remove number sign (#) of line 21
docker build . -t jikan-rest-img
docker run -d -p 9000:80 --name jikan-rest-api jikan-rest-img
Usage
Access the API (v3) port 9000
:
http://localhost:9000/public/v3
Request Anime
example:
http://localhost:9000/public/v3/anime/1