-
Notifications
You must be signed in to change notification settings - Fork 7
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
Checkin Mailhog in all staarterkits and changed the dependency of chown service. #120
Checkin Mailhog in all staarterkits and changed the dependency of chown service. #120
Conversation
volumes: *app-volumes | ||
|
||
cli: | ||
image: "srijanlabs/php-cli:${PHP_VERSION}-10" | ||
container_name: ${PROJECT_NAME}_cli | ||
command: ["composer", "install", "--no-dev", "--prefer-dist", "--no-progress", "--no-suggest", "--no-interaction", "--optimize-autoloader"] | ||
user: continua | ||
user: root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we using root user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case there is a specific reason to do this, let's document it and can be fixed later. Adding a comment would be useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel no need to document this because while doing composer install with continua user it gives permission error while creating/modifying folders. So I changed this user to root and after cli service, chown service will run and change the ownership of files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sharmaamitt16 Please check comments.
volumes: *app-volumes | ||
|
||
cli: | ||
image: "srijanlabs/php-cli:${PHP_VERSION}-10" | ||
container_name: ${PROJECT_NAME}_cli | ||
command: ["composer", "install", "--no-dev", "--prefer-dist", "--no-progress", "--no-suggest", "--no-interaction", "--optimize-autoloader"] | ||
user: continua | ||
user: root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case there is a specific reason to do this, let's document it and can be fixed later. Adding a comment would be useful.
2ae0016
to
b18a90f
Compare
b18a90f
to
2c94443
Compare
No description provided.