Enable Docker Wordpress image to start new WordPress container directly with SQLite
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 42/100
调研方向
首先检查链接的 Dockerfile、docker-entrypoint.sh 和 WordPress setup-config.php,以了解所需的 SQLite 依赖项、插件安装和设置行为应放在哪里。使用示例 docker-compose.yml 作为验收场景:新的 WordPress 容器应能够在启用 WORDPRESS_USE_SQLITE 的情况下启动,而无需外部 MySQL 数据库。
由索引模型根据 Issue 内容生成。
描述
It has been very silent around the sqlite integration. I think a lot more people might test it, if the setup would not require an additional external database to start. I tried to create a Dockerfile using FROM Wordpress:latest, but it seems there are a couple of challenges.
To get a smooth experience, we need
- Integration of the required SQLite dependencies into the Docker WordPress image (
Dockerfile)
(sqlite3,libsqlite3-dev,php-sqlite3,pdo_sqlite?) - Enable install of WP SQLite plugin during first startup, maybe by using an ENV VAR (
docker-entrypoint.sh) - Skip required MYSQL during setup, maybe by using an ENV VAR (
setup-config.php) - Add the necessary SQLite settings, maybe by using an ENV VAR (probably in
setup-config.php)
It doesn't look too complicated to me, it just needs a coordinated effort. Who can implement those changes (shell, php) and who is controlling those files to update them? How is the regular process? Who needs to agree to this?
The Docker Wordpress image size is 230MB, I don't think the SQL dependencies of around 1-3MB really matter. And I assume if not used, they should not introduce any kind of security issue.
Imagine you can spin up a new Wordpress with a simple example docker-compose.yml for wordpress:
services:
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_USE_SQLITE: true
volumes:
- wordpress:/var/www/html
- 主要语言
- PHP
- 星标
- 363
- 派生
- 67
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 7
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WordPress/sqlite-database-integration 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
WordPress/sqlite-database-integration#454 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 52/100
WordPress/sqlite-database-integration#504 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
-
bug
难度 4/5 3-5 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 48/100
WordPress/sqlite-database-integration#478 · 2 条评论 ·
查看 WordPress/sqlite-database-integration 的全部 Issue
相似的 Issue
-
tooling
难度 2/5 1-3 小时 新手友好度 75/100
-
UX
难度 2/5 1-3 小时 新手友好度 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
OpenConext/OpenConext-engineblock#2122 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/safe-publish#594 ·