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

Remove .env file creation #409

Merged
merged 9 commits into from
Jul 18, 2023
Merged

Remove .env file creation #409

merged 9 commits into from
Jul 18, 2023

Conversation

rjhenry
Copy link
Collaborator

@rjhenry rjhenry commented Jul 3, 2023

No description provided.

@rjhenry rjhenry self-assigned this Jul 3, 2023
@rjhenry rjhenry force-pushed the rjh_remove_entrypoint_script branch from 1e2dced to 8b233ae Compare July 5, 2023 14:04
@rjhenry rjhenry changed the title WIP: Remove .env file creation Remove .env file creation Jul 5, 2023
@rjhenry rjhenry marked this pull request as ready for review July 5, 2023 17:26
@rjhenry rjhenry force-pushed the rjh_remove_entrypoint_script branch from 3c6aa55 to 92f542d Compare July 5, 2023 17:55
Copy link

@stavros-k stavros-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far, looking forward to it!

Maybe also remove the php artisan generate key? Since now it won't go forward if the APP_KEY is not set.

fi
fi
# Ensure these is no local .env file
[ -f ".env" ] && rm .env

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe instead of deleting it, having error out with a log message to something like "please migrate the .env values into your compose or docker run setup"

Just to avoid custom configs being lost.
Or at least my .env .env.bak

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense - I've adjusted this now.

@stavros-k
Copy link

Is there anything I can help with to complete this?
Thanks!

@rjhenry rjhenry force-pushed the rjh_remove_entrypoint_script branch from 8785db9 to 2bfe6aa Compare July 18, 2023 13:58
@rjhenry
Copy link
Collaborator Author

rjhenry commented Jul 18, 2023

Is there anything I can help with to complete this? Thanks!

I've just updated the documentation change to reflect the changed version number, so as long as the automated tests pass I'll be merging this later on today. Thanks for the offer though!

@rjhenry rjhenry merged commit fc5bea8 into master Jul 18, 2023
@delete-merged-branch delete-merged-branch bot deleted the rjh_remove_entrypoint_script branch July 18, 2023 14:28
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.

2 participants