最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Wordpress on Docker: how to update websiteplugin?

programmeradmin4浏览0评论

I have my wordpress running on LAMP, and now I would like to move it in Docker. I was wondering: how to handle wordpress and plugins updates?

I see two "easy" paths:

  • Deploy a basic version of the website, and If I need to redeploy it for whatever reason I'll need to reupdate everything (probably a mess because of the database) - so not really viable.
  • Keep the website's data persistent (I'm not using the wp docker image anyway), and mount a volume in the container with the wp files. In this way, the update would be persisted.

What I really want is to store on git and then build a new image every time there is a wordpress update.

Is this possible? If yes, how?

发布评论

评论列表(0)

  1. 暂无评论