mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 07:21:10 +01:00
Add init-docker-secrets dependency, update doc
This commit is contained in:
parent
53c16e53c3
commit
696e1aea16
10
README.md
10
README.md
|
@ -40,10 +40,10 @@ Attempt to fix several of WordPress anti-patterns in ready to deploy container
|
||||||
* If you have custom scripts, you should review them and migrate to new format
|
* If you have custom scripts, you should review them and migrate to new format
|
||||||
* S6 supervisor v3 brings many improvements and bugfixes in addition to performance improvements
|
* S6 supervisor v3 brings many improvements and bugfixes in addition to performance improvements
|
||||||
* This change is necessary to ensure compatibility with future base image updates
|
* This change is necessary to ensure compatibility with future base image updates
|
||||||
- 2024-10-28 Deprecate docker hub images
|
- 2024-10-28 Multiple changes
|
||||||
* Done as protest against Docker Hub's hostile behavior towards open source community
|
* Deprecate docker hub images
|
||||||
* All images will be removed from docker hub
|
* Add WordPress versions 6.5.3 -> 6.6.2
|
||||||
* Please use ghcr.io/n0rthernl1ghts/wordpress instead
|
* Add support for docker secrets
|
||||||
|
|
||||||
#### Public builds (docker)
|
#### Public builds (docker)
|
||||||
|
|
||||||
|
@ -122,5 +122,5 @@ COPY --from=wp-plugins-installer ["/var/www/html/wp-content/plugins", "/var/www/
|
||||||
* ~Install/update plugins on the fly using wp cli (with versioning)~
|
* ~Install/update plugins on the fly using wp cli (with versioning)~
|
||||||
* Install/update themes on the fly using wp cli (with versioning)
|
* Install/update themes on the fly using wp cli (with versioning)
|
||||||
* ~Apply theme and eventual plugin customizations using patch files~ (Partial)
|
* ~Apply theme and eventual plugin customizations using patch files~ (Partial)
|
||||||
* Support automatic install using ENV
|
* ~Support automatic install using ENV~
|
||||||
* Create users automatically using ENV
|
* Create users automatically using ENV
|
||||||
|
|
|
@ -44,7 +44,7 @@ main() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wp core install \
|
s6-envdir /run/secrets_normalized wp core install \
|
||||||
--url="${WORDPRESS_INIT_SITE_URL:?}" \
|
--url="${WORDPRESS_INIT_SITE_URL:?}" \
|
||||||
--title="${WORDPRESS_INIT_SITE_TITLE:-WordPress}" \
|
--title="${WORDPRESS_INIT_SITE_TITLE:-WordPress}" \
|
||||||
--admin_user="${WORDPRESS_INIT_ADMIN_USER:?}" \
|
--admin_user="${WORDPRESS_INIT_ADMIN_USER:?}" \
|
||||||
|
|
|
@ -70,6 +70,8 @@ main() {
|
||||||
# This will prepend service name to all output from here
|
# This will prepend service name to all output from here
|
||||||
exec > >(while read -r line; do echo "[init-wpconfig-verify] ${line}"; done) 2>&1
|
exec > >(while read -r line; do echo "[init-wpconfig-verify] ${line}"; done) 2>&1
|
||||||
|
|
||||||
|
source /usr/local/bin/load_secrets
|
||||||
|
|
||||||
echo "Checking salts..."
|
echo "Checking salts..."
|
||||||
if ! checkSaltsEnv; then
|
if ! checkSaltsEnv; then
|
||||||
echo "^^^ Some or all of the salts are not set. Cannot continue."
|
echo "^^^ Some or all of the salts are not set. Cannot continue."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user