(it seems that my last account on the forum is no longer accessible, password reset kept failing... sorry for the second one).
So I have a working implementation of using docker to host a local Miva merchant. I'd like to publish the containers to github, so everyone could have a starting point where they could just clone/fork the repo and get started with local development of modules/templates/etc. I was wondering if it is within the licensing agreement to publish the compiled mvc files in the wwwroot directory as part of the repository? I know I can't publish my key, but I was going to start off with a blank database and, as part of the instructions, have the user put in their own key.
My second question... While the containers are blazing fast* already, I currently have the web container using fcgiwrap on nginx to proxy into the normal CGI miva engine (no Apache whatsoever). This is because nginx does not support running normal CGI applications. I noticed that in the downloadable distribution there _is_ a fastcgi version of the binaries, but there is no documentation on them, and when I run them there is no output indicating what flags that I have to pass in.
Is there any place with documentation of how I could configure my dockerized nginx server and the fastcgi build of empresa? Fcgiwrap works great, but it's just one more thing running that needs to be configured.
Thanks!
Nelson
* When running completely in a Linux VM without mounting the source directory to Windows; this is an issue with Docker, not Miva. You can still mount the directories from the Linux host to Docker, so you just have to run your editor in the VM. Not a big deal since I use VSCode.
So I have a working implementation of using docker to host a local Miva merchant. I'd like to publish the containers to github, so everyone could have a starting point where they could just clone/fork the repo and get started with local development of modules/templates/etc. I was wondering if it is within the licensing agreement to publish the compiled mvc files in the wwwroot directory as part of the repository? I know I can't publish my key, but I was going to start off with a blank database and, as part of the instructions, have the user put in their own key.
My second question... While the containers are blazing fast* already, I currently have the web container using fcgiwrap on nginx to proxy into the normal CGI miva engine (no Apache whatsoever). This is because nginx does not support running normal CGI applications. I noticed that in the downloadable distribution there _is_ a fastcgi version of the binaries, but there is no documentation on them, and when I run them there is no output indicating what flags that I have to pass in.
Is there any place with documentation of how I could configure my dockerized nginx server and the fastcgi build of empresa? Fcgiwrap works great, but it's just one more thing running that needs to be configured.
Thanks!
Nelson
* When running completely in a Linux VM without mounting the source directory to Windows; this is an issue with Docker, not Miva. You can still mount the directories from the Linux host to Docker, so you just have to run your editor in the VM. Not a big deal since I use VSCode.
Comment