-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run cron with user 1000 #90
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My problem is that I need to run the Drupal cron for some websites on the development servers (run periodic imports or reindex the search_api for example).
I have tried to execute the cron in several ways, but I always end up getting the same fault.
After researching a few hours, I have seen that people who use Alpine say they use the root user (which I don't think is the best idea)
I have seen that you delete the root crontab, and only leave the user www-data. I think the problem comes from here, since drush should always be run as user 1000 (wodby), right?
php/7/Dockerfile
Line 301 in 2408549
A possible solution would be to have both volumes:
My docker-compose:
My crontab:
I just want to have the cron running, and I'm starting with docker, maybe I'm wrong with the reason why it doesn't work. Any other idea?
The text was updated successfully, but these errors were encountered: