Skip to content
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

Merged

Conversation

sharmaamitt16
Copy link
Contributor

@sharmaamitt16 sharmaamitt16 commented Jul 22, 2020

No description provided.

@sharmaamitt16 sharmaamitt16 changed the title Checkin Mailhog in all staarterkits and changed the dependency of cho… Checkin Mailhog in all staarterkits and changed the dependency of chown service. Jul 22, 2020
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
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@AshishThakur AshishThakur left a 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
Copy link
Contributor

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.

@sharmaamitt16 sharmaamitt16 force-pushed the starterkit-optimization branch 2 times, most recently from 2ae0016 to b18a90f Compare July 22, 2020 08:20
@AshishThakur AshishThakur merged commit 2b98506 into srijanone:develop Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants