Reference more recent WP version

This commit is contained in:
2025-02-08 23:59:38 +01:00
parent 16fe42e402
commit 933e25a75a
2 changed files with 7 additions and 7 deletions

View File

@@ -58,11 +58,11 @@ ghcr.io/n0rthernl1ghts/wordpress-cron:latest
You can also use specific version of WordPress:
```
ghcr.io/n0rthernl1ghts/wordpress:6.2.0
ghcr.io/n0rthernl1ghts/wordpress-cron:6.2.0
ghcr.io/n0rthernl1ghts/wordpress:6.6.2
ghcr.io/n0rthernl1ghts/wordpress-cron:6.6.2
```
Replace version number with desired version, eg. 6.0.2.
Replace version number with desired version, eg. 6.6.1.
### Cron
Cron is supported out of the box in `ghcr.io/n0rthernl1ghts/wordpress` image, but the best practice is to use dedicated image `ghcr.io/n0rthernl1ghts/wordpress-cron` for this purpose. <br/>
@@ -100,7 +100,7 @@ You can extend this image and install plugins during build time, using `wp-plugi
Example:
```Dockerfile
FROM ghcr.io/n0rthernl1ghts/wordpress:6.2.0 AS wp-plugins-installer
FROM ghcr.io/n0rthernl1ghts/wordpress:6.7.1 AS wp-plugins-installer
RUN set -eux \
&& export WP_PLUGINS_PATH="/var/www/html/wp-content/plugins" \
@@ -109,7 +109,7 @@ RUN set -eux \
&& wp-plugin download wp-mail-smtp
# Final image
FROM ghcr.io/n0rthernl1ghts/wordpress:6.2.0
FROM ghcr.io/n0rthernl1ghts/wordpress:6.7.1
# Example:
# - Install ext-redis with pecl

View File

@@ -72,7 +72,7 @@ secrets:
services:
wordpress:
image: ghcr.io/n0rthernl1ghts/wordpress:6.6.2
image: ghcr.io/n0rthernl1ghts/wordpress:6.7.1
deploy:
restart_policy:
condition: any
@@ -113,7 +113,7 @@ services:
cron:
extends:
service: wordpress
image: ghcr.io/n0rthernl1ghts/wordpress-cron:6.6.2
image: ghcr.io/n0rthernl1ghts/wordpress-cron:6.7.1
deploy:
resources:
limits: