Docker编写具有Costum主题+ MySQL的Wordpress [英] Docker-compose wordpress with costum theme + mysql
问题描述
我需要做docker-compose:1)主题为wordpress的2)mysql.
I need to do docker-compose: 1)wordpress with my theme 2) mysql.
这在实践中如何完成?再加上一个条件,我将.yam文件折叠给另一个人,并且它应该以相同的方式启动,也就是说,有一个小问题,我无法在本地添加像COPY这样的主题./wp-content/
How is this done in practice? And plus one condition, I will fold the .yam file to another person and it should launch in the same way, that is, there was a small problem, I can’t add a topic locally like COPY. / wp-content /
有一个想法可以创建带有主题的自己的wordpress图像并将其连接到docker-compose,但是有几次尝试都没有成功,请分享一些有关如何在客户站点上部署wordpress的示例.
There is an idea to create your own wordpress image with the theme and connect it to docker-compose, but there were several unsuccessful attempts, please share a couple of examples of how to deploy wordpress with the customer’s site.
推荐答案
您是否看到过快速入门:撰写和WordPress ?
这篇关于Docker编写具有Costum主题+ MySQL的Wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!