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

feat: allow --user option #61

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: allow --user option #61

wants to merge 4 commits into from

Conversation

asbiin
Copy link
Member

@asbiin asbiin commented Jun 26, 2021

This close #42

You can test it either by

  1. Using --user flag
    This will require to mount a volume to /var/www/html/storage, so the specified user can write in it (required by Laravel).
    You also need to set APP_KEY environment variable (.env file will not be writable)

  2. Setting APACHE_RUN_USER and APACHE_RUN_GROUP environment variable to an existing user name
    This defines the user and group used to run apache (if you use fpm, try scenario 1)

Limitation: the artisan config:cache will not work with scenario 1.

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.

Not compatible with --user flag
1 participant