Open lucasjahn opened 4 years ago
Personally, I try to keep each environment well abstracted and ephemeral.
in regards to local development, it depends on what you are trying to accomplish in your workflow. You can install a generic Wordpress instance locally, do your work. You can export from production for use locally as well.
Ah no okay. What I meant was, how should I deploy my code to the server. I thought about changing the wrdpress.yml compose file to copy a directory like /var/html/wordpres
to the container instead of using the volume in the docker files. But not sure if this would be the best way. Locally I have it running. I was just wondering about custom themes and plugin development how the "best" or "best practice" way would be to get my code to the running Docker on the server.
Is there a documentation how to use this docker image locally? For local development. More like a way to create self-signed certificates for local environment and for production use to have the certificates generated by LetsEncrypt.
You may want to see this issue: https://github.com/openbridge/wordpress/issues/19
Hey there,
thanks for this high-speed setup und all the support you gave on here. I was wondering how I would be able to do active development on the theme of this WordPress setup or write custom plugins and deploy it to the setup. As I saw at the moment it is using a volume (local driver), so I assume I would need to bind this volume to a directory on the server and maybe could then connect a git (bare) repo to update its code and have it inside the dockerized WordPress setup, or how do you do it at the moment? Any tips, hints, suggestions?
Appreciate your work though!