mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-08 14:02:41 +01:00
Reference more recent WP version
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user