Replies: 3 comments 3 replies
-
Hey, great question. Separation of concerns is important in docker containers. You can only run one process in a container. I used to use "supervisord" to run multiple things in one container, but that's a lot of maintenance. This is cleaner and gives the user more freedom. Hope this helps :) |
Beta Was this translation helpful? Give feedback.
-
What about a |
Beta Was this translation helpful? Give feedback.
-
I will check de documentation. Thanks for your time. |
Beta Was this translation helpful? Give feedback.
-
Is there a reason to run cron com a separate service (and using wget)?
Wouldn't be more simple (and avoid possible timeouts) running it in
app
service usingphp artisan
?I know not all hostings may allow running cron and cli commands, but it feels odd to have a whole service running just to execute a job daily.
Beta Was this translation helpful? Give feedback.
All reactions