Closed erfantkerfan closed 1 week ago
@jbrooksuk
Hi @erfantkerfan , did you see there is an old project for Docker you can use as reference which works up to latest stable 2.4? https://github.com/cachethq/Docker
I tried to bring up the 3.x branch using this and found that the base route changed to /status which is why you get an 404 error on the base path. You can also change it to the root using environment variable CACHET_PATH=/
However I also face some issues after deployment, but the migration path works for me. Not sure what the difference here is comparing to your PR - is your docker volume for the database really clean on startup?
https://github.com/steffjenl/Docker/tree/feature/cachet-3.x
I have created a Docker version for 2.4 and 3.x
For the 2.4 I have a PR open in the repo Docker
With deployment to Docker Hub and GitHub Docker
You can set the env parm to CACHET_PATH="/" to set the path to the root directory.
3.x is not ready for production use yet. It "works", but it's far from feature complete.
I a DevOps eng. who is trying to Dockerize your application but it like 3.x branch is not ready to be used, am I correct? For example after the setup the / route gives me 404 and also I'm getting error like this when I try to run migration. My background in Laravel development can help you Dockerize the project easier. I'm making a PR also you can contact me on linkedin (in my github bio).