-
Notifications
You must be signed in to change notification settings - Fork 14
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
Onboarding Sail (docker) #247
Conversation
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.
Looks good; only one small unrelated suggestion.
Thanks @gcavanunez!
docker-compose.yml
Outdated
@@ -0,0 +1,55 @@ | |||
services: | |||
laravel.test: |
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'm not super familiar with the ideal way to set up the Sail Docker compose file. Should this be ozzie.test
? Or is laravel.test
the correct config?
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.
Good catch, I think the name is somewhat irrelant though I believe it's what's docker takes in as the name, thus definitely using the ozzie.test
would be the way to go
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.
Uhm, the Laravel service name is kinda hardcoded in the Sail bash script (see here) (it's the main service when we run things like sail artisan ...
). Can we also add a APP_SERVICE="ozzie.test"
to the .env.example
file? This will get carried to the .env
when someone is seting up the project.
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.
Looks good. Left some comments, which should be addressed, but should good to merge IMO after those are handled.
63d8390
to
0ea7f72
Compare
0ea7f72
to
40986dc
Compare
Highlights
docker-compose.yml
Doubts
.env
database config, wasn't 100% if it was worth highlighting on the.env.example
or in the actual readme under the sail instructionsReferences