-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix docker installation #401
base: cesar/migrateToPhp8
Are you sure you want to change the base?
Conversation
DB_CONNECTION=mysql | ||
DB_HOST=database | ||
DB_PORT=3306 | ||
DB_DATABASE=portail | ||
DB_USERNAME=portail | ||
DB_PASSWORD=portail |
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.
Pourquoi ? C'est des valeurs fixes car uniquement utilisées pour du dev local, pas besoin de les modifier. Elles devraient rester en dur dans le docker-compose
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.
Je crois que c'est un paramètre qu'il faut préciser à la fois sous cette forme pour le portail…
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.
Je peux mettre celui-ci dans docker-compose aussi stu veux
docker-compose.yml
Outdated
- MYSQL_ROOT_PASSWORD=portail | ||
- MYSQL_USER=portail | ||
- MYSQL_PASSWORD=portail | ||
- MYSQL_DATABASE=portail |
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.
CF les ENV plus haut, en plus ca n'a pas l'air utilisé, si ?
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.
… et sous celui-ci pour mysql.
All those steps and tweaks permit to have a working Docker installation out of the box, following the (updated) documentation instructions.²