Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open
wordpress-helm
Commits
b6da86dc
Commit
b6da86dc
authored
Jun 02, 2020
by
engineer
Browse files
Merge branch '66-with_items-deprecation' into orgsafe
parents
7f6761b0
e89a509d
Pipeline
#10372
passed with stage
in 1 minute and 16 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b6da86dc
...
...
@@ -146,7 +146,7 @@ You might have to edit the following variables to reflect your current site's:
-
Set
`DB_PREFIX`
to the database prefix that your current WordPress uses
-
Set
`WP_VERSION`
to the version of your current WordPress site.
-
Check if your current WordPress uses Redis. This is usually the case when you
have the
`
wp-
redis`
plugin installed. If so, enable redis in your
have the
`redis
-cache
`
plugin installed. If so, enable redis in your
`values-local.yaml`
by setting
`redis.enabled`
to
`true`
.
After installing, check if your site is available at the URL you specified in
...
...
wp-cli-docker/roles/wordpress-init/tasks/mu-plugins-cron.yml
View file @
b6da86dc
...
...
@@ -64,6 +64,7 @@
git
:
repo
:
"
{{
WP_MU_CRON_SETTINGS.repo}}"
dest
:
"
{{
WP_CONTENT_DIR
}}/{{
WP_MU_PLUGINS_DIR
}}/{{
WP_MU_CRON_SETTINGS.slug
}}"
force
:
yes
depth
:
1
version
:
"
{{
WP_MU_CRON_SETTINGS.version}}"
when
:
WP_MU_CRON_ENABLED
...
...
wp-cli-docker/roles/wordpress-init/tasks/redis.yml
View file @
b6da86dc
...
...
@@ -8,7 +8,7 @@
shell
:
wp {{ cli_args }} config set WP_REDIS_PASSWORD "{{ WP_REDIS_PASSWORD }}" --add --type=constant
-
name
:
Install redis-cache WordPress plugin
shell
:
wp {{ cli_args }} plugin install
wp-
redis --activate
shell
:
wp {{ cli_args }} plugin install redis
-cache
--activate
-
name
:
Enable redis object cache
shell
:
wp {{ cli_args }} redis enable
...
...
wp-cli-docker/roles/wordpress-permissions/tasks/main.yml
View file @
b6da86dc
...
...
@@ -26,7 +26,7 @@
command
:
find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "\.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
-
name
:
Config file ownership
command
:
find {{ config_dir }} -type f \( -iname "*htaccess" -o -iname "wp-config*" \) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
command
:
find {{ config_dir }} -type f \( -iname "*htaccess" -o -iname "wp-config*"
! -path "*wp-content-mount/.htaccess"
\) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
-
name
:
Bulk file permissions
command
:
find {{ config_dir }} -type f \( -iname "*.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chmod -c {{ mode_0640 }} {} \;
...
...
@@ -34,6 +34,11 @@
-
name
:
Dot file permissions
command
:
find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "\.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chmod -c {{ mode_0440 }} {} \;
-
name
:
Config file permissions
command
:
find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "*htaccess" -o -iname "wp-config*" \) -exec chmod -c {{ mode_0440 }} {} \;
-
name
:
HTaccess file permissions
command
:
find {{ config_dir }} -type f -maxdepth 1 \( -iname "*htaccess" ! -path "wp-content-mount/.htaccess" \) -exec chmod -c {{ mode_0640 }} {} \;
-
name
:
WPconfig file permission
command
:
find {{ wordpress_homedir }} -type f -name "wp-config.php" -exec chmod -c {{ mode_0440 }} {} \;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment