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 "site switch-language $LOCALE"
|
||||
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(){
|
||||
|
|
19
compose.yml
19
compose.yml
|
@ -10,14 +10,17 @@ services:
|
|||
- backend
|
||||
- proxy
|
||||
environment:
|
||||
- PAGER=more
|
||||
- WORDPRESS_DB_HOST=db
|
||||
- WORDPRESS_DB_USER=wordpress
|
||||
- WORDPRESS_DB_PASSWORD_FILE=/run/secrets/db_password
|
||||
- WORDPRESS_DB_NAME=wordpress
|
||||
- WORDPRESS_CONFIG_EXTRA=${WORDPRESS_CONFIG_EXTRA}
|
||||
- WORDPRESS_TABLE_PREFIX
|
||||
- PHP_EXTENSIONS
|
||||
WORDPRESS_CONFIG_EXTRA: |
|
||||
define( 'AUTOMATIC_UPDATER_DISABLED', false );
|
||||
define( 'WP_AUTO_UPDATE_CORE', false );
|
||||
${WORDPRESS_CONFIG_EXTRA}
|
||||
PAGER: more
|
||||
WORDPRESS_DB_HOST: db
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD_FILE: /run/secrets/db_password
|
||||
WORDPRESS_DB_NAME: wordpress
|
||||
WORDPRESS_TABLE_PREFIX: ${WORDPRESS_TABLE_PREFIX}
|
||||
PHP_EXTENSIONS: ${PHP_EXTENSIONS}
|
||||
secrets:
|
||||
- db_password
|
||||
configs:
|
||||
|
|
Loading…
Reference in New Issue