mirror of
https://github.com/luizeof/dockerpress.git
synced 2026-06-19 07:37:10 +00:00
wp cron
This commit is contained in:
@@ -24,6 +24,7 @@ function update_wp_config() {
|
||||
wp config set WP_DEBUG $WP_DEBUG --raw --add --type=constant
|
||||
wp config set WP_MEMORY_LIMIT 512M --add --type=constant
|
||||
wp config set WP_MAX_MEMORY_LIMIT 512M --add --type=constant
|
||||
wp config set DISABLE_WP_CRON $DISABLE_WP_CRON --raw --add --type=constant
|
||||
}
|
||||
|
||||
function generate_litespeed_password() {
|
||||
|
||||
@@ -16,6 +16,7 @@ ENV WORDPRESS_DB_PREFIX "wp_"
|
||||
ENV WORDPRESS_DB_PORT 3306
|
||||
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE="1"
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
ENV DISABLE_WP_CRON=true
|
||||
|
||||
# HTTP port
|
||||
EXPOSE "80/tcp"
|
||||
|
||||
@@ -16,6 +16,7 @@ ENV WORDPRESS_DB_PREFIX "wp_"
|
||||
ENV WORDPRESS_DB_PORT 3306
|
||||
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE="1"
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
ENV DISABLE_WP_CRON=true
|
||||
|
||||
# HTTP port
|
||||
EXPOSE "80/tcp"
|
||||
|
||||
Reference in New Issue
Block a user