Open keithbentrup opened 4 years ago
according to https://github.com/magento/magento-cloud-docker/issues/139 it's bad for performance but ...
this is what --with-cron add
--with-cron
diff docker-compose.yml.old docker-compose.yml 116a117,139 > cron: > hostname: cron.master > image: 'magento/magento-cloud-docker-php:7.4-cli-1.2' > extends: generic > command: run-cron > environment: > CRONTAB: '* * * * * root cd /app && /usr/local/bin/php bin/magento cron:run >> /app/var/log/cron.log' > volumes: > - 'magento:/app:ro,delegated' > - 'magento-vendor:/app/vendor:ro,delegated' > - 'magento-generated:/app/generated:ro,delegated' > - 'magento-var:/app/var:rw,delegated' > - 'magento-app-etc:/app/app/etc:rw,delegated' > - 'magento-pub-media:/app/pub/media:rw,delegated' > - 'magento-pub-static:/app/pub/static:rw,delegated' > - 'docker-mnt:/mnt:rw,delegated' > depends_on: > db: > condition: service_started > redis: > condition: service_started > elasticsearch: > condition: service_started
also need to confirm cron working if decide to have on by default
according to https://github.com/magento/magento-cloud-docker/issues/139 it's bad for performance but ...
this is what
--with-cron
add