This a docker version of e-Book. For more details, you can refer to my blog.
The docker environment only contains the backend of the e-book. You can visit the repository for more description about APIs. The nginx is listening on port 80 and distributes the request to port 9000 and port 9001 through polling. Redis is on port 6379. MongoDB is on port 27017. MySQL is on port 3306. Neo4j is on port 7687 and 7474.(The related code is disabled for an unsolved bug when I used Neo4j in the cluster environment.)
This project uses docker and docker-compose to run the images. Go check them out if you don't have them locally installed.
You only need to use one command.
docker-compose up
Then you can visit the URL for details.
localhost:80/book/<book_id>
No future plan to make this docker version to keep track with the latest e-book version. If you want to, you can repackage the latest e-book jar file and manually build the Dockerfile rather than using the remote image.
MIT © Kami-code