Rhilip / RidPT

A Private Tracker System
https://ridpt.top
Apache License 2.0
101 stars 17 forks source link

Dockerize this project #6

Open adhocore opened 4 years ago

adhocore commented 4 years ago

Currently we need to manually set up the environment, install platform deps etc And this can fail easily. In fact i couldnt get this up and running.

So i think we should dockerize this project and make setup and usage as simple and easy as possible.

For local development, this LEMP stack should be mostly enough. Not sure about mysql because it is v5.7. Alternatively, we can compose a stack as desired on top phpfpm which then will be production ready as well.

povsister commented 4 years ago

It‘s a little earlier to dockerize project since NOT ALL features are completely implemented. I mean, it's not production-ready.

I know about the author and he is really busy recently. How about creating a docker file project on your own?

Rhilip commented 4 years ago

Thanks for your advise and your great work at the docker container LEMP stack.

This project depends on Swoole (PHP extension) and the database require Mysql ^8.0.17, so it can't work on properly on php-fpm and mysql 5.7 platform. And as my friends says, It's a little earlier to dockerize project. So I add this advise into the TODO list, and hope I can test it after RC status.

adhocore commented 4 years ago

thanks for feedback. the phpfpm has swoole there. we can compose individual mysql, nginx etc :)