How to deploy a wordpress site? #625
-
It would be great to have an example which explains how to deploy a wordpress site just like the below one which explains the same using docker compose. https://github.com/docker/awesome-compose/tree/master/official-documentation-samples/wordpress/ Thanks in advance! 😊 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I feel the Kamal documentation should contain a cookbook section which in addition to the example requested above should contain tips, caveats and best practices when using kamal |
Beta Was this translation helpful? Give feedback.
-
I tried doing this but ended up with the following error ERROR (Kamal::Commands::Builder::Base::BuilderError): Missing Dockerfile and there seems to be no option (unless i am missing something) to disable this builder thing because in my case i only want to pull wordpress image and not build and push something. |
Beta Was this translation helpful? Give feedback.
-
Managing your setup using Docker Compose is a cool and recommended option. In fact, over the internet, there are good tutorials about how to do that step by step, exactly like the one you mentioned. This might be in the form of examples of what you are interested in looking at by looking at some existing Wordpress blog examples. You can get an idea of how these themes and plugins are used. You will also probably be inspired for your site. Besides, allowing the entry of the real-world examples will make the learning more engaging and applicable. With a bit of practice and the right resources, you'll have your site up and running smoothly in no time. |
Beta Was this translation helpful? Give feedback.
This is a very board question, usally you create a project with a Dockerfile. Here is the one I am using. You should have a look at the Wordpress Docker documentation, it is worth reading.
I use hetzner with a volume mounted under /mnt/volume-wordpress-data where all uploads and static files are stored.