Override wordpress service CRON_ENABLED env

This commit is contained in:
Aleksandar Puharic 2024-11-02 01:03:50 +01:00
parent 08a5288dba
commit 40a0e10c7b
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -118,6 +118,8 @@ services:
resources: resources:
limits: limits:
memory: 512M # Limit the memory for the cron job to 512 MB. This is a good practice to avoid memory leaks. memory: 512M # Limit the memory for the cron job to 512 MB. This is a good practice to avoid memory leaks.
environment:
CRON_ENABLED: "true"
# Redis is optional, but it works really well for caching. If removed, please update x-wordpress-configuration-env # Redis is optional, but it works really well for caching. If removed, please update x-wordpress-configuration-env
cache: cache: