Enable Docker Wordpress image to start new WordPress container directly with SQLite
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia esaminando il Dockerfile, docker-entrypoint.sh e setup-config.php di WordPress collegati per capire dove devono essere inserite le dipendenze SQLite richieste, l’installazione del plugin e il comportamento della configurazione. Usa l’esempio docker-compose.yml come scenario di accettazione: un nuovo container WordPress dovrebbe avviarsi con WORDPRESS_USE_SQLITE abilitato senza richiedere un database MySQL esterno.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- PHP
- Stelle
- 363
- Fork
- 67
- Merge medio
- 5g 17h
- PR unite (30g)
- 5
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WordPress/sqlite-database-integration
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
WordPress/sqlite-database-integration#454 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
WordPress/sqlite-database-integration#504 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di WordPress/sqlite-database-integration
Issue simili
-
tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MagnaCapax/PMSS#949 ·
-
responsive-media kses allow-list strips clipPathUnits, collapsing objectBoundingBox clip paths Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Automattic/static-site-importer#1829 ·