-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
enhancement requestedNew feature suggestedNew feature suggested
Milestone
Description
Expected Behavior / Current Behavior
When CRON_USER
variable is not set in the docker-compose file, it automatically fallbacks to root
, where we should expect it to fall back to the current user and not root.
Steps to Reproduce (for bugs)
- Don't define a
CRON_USER
in your docker-compose - Notice that all CRON tasks are run as root
Context
I deployed a Laravel app recently, where an exception was triggered regularly and creating the logs file by default. That's when I noticed the log files were owned by root instead of the container user.
Metadata
Metadata
Assignees
Labels
enhancement requestedNew feature suggestedNew feature suggested