disable core updates, hide notifications, enable automatic plugin updates
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
df821f5017
commit
55f00a482a
3
abra.sh
3
abra.sh
|
@ -18,6 +18,9 @@ core_install(){
|
||||||
wp "language core install $LOCALE"
|
wp "language core install $LOCALE"
|
||||||
wp "site switch-language $LOCALE"
|
wp "site switch-language $LOCALE"
|
||||||
wp "rewrite structure '/%year%/%monthnum%/%day%/%postname%/'"
|
wp "rewrite structure '/%year%/%monthnum%/%day%/%postname%/'"
|
||||||
|
wp "plugin install --activate disable-update-notifications"
|
||||||
|
wp 'option update dwcun_setting on'
|
||||||
|
wp 'plugin auto-updates enable --all'
|
||||||
}
|
}
|
||||||
|
|
||||||
set_authentik(){
|
set_authentik(){
|
||||||
|
|
19
compose.yml
19
compose.yml
|
@ -10,14 +10,17 @@ services:
|
||||||
- backend
|
- backend
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
- PAGER=more
|
WORDPRESS_CONFIG_EXTRA: |
|
||||||
- WORDPRESS_DB_HOST=db
|
define( 'AUTOMATIC_UPDATER_DISABLED', false );
|
||||||
- WORDPRESS_DB_USER=wordpress
|
define( 'WP_AUTO_UPDATE_CORE', false );
|
||||||
- WORDPRESS_DB_PASSWORD_FILE=/run/secrets/db_password
|
${WORDPRESS_CONFIG_EXTRA}
|
||||||
- WORDPRESS_DB_NAME=wordpress
|
PAGER: more
|
||||||
- WORDPRESS_CONFIG_EXTRA=${WORDPRESS_CONFIG_EXTRA}
|
WORDPRESS_DB_HOST: db
|
||||||
- WORDPRESS_TABLE_PREFIX
|
WORDPRESS_DB_USER: wordpress
|
||||||
- PHP_EXTENSIONS
|
WORDPRESS_DB_PASSWORD_FILE: /run/secrets/db_password
|
||||||
|
WORDPRESS_DB_NAME: wordpress
|
||||||
|
WORDPRESS_TABLE_PREFIX: ${WORDPRESS_TABLE_PREFIX}
|
||||||
|
PHP_EXTENSIONS: ${PHP_EXTENSIONS}
|
||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
configs:
|
configs:
|
||||||
|
|
Loading…
Reference in New Issue