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

[doctrine-bundle] Docker support #113

Merged
9 commits merged into from
Nov 17, 2020
Merged

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Jul 12, 2017

Q A
License MIT

Requires dunglas/symfony-docker#5 and symfony/flex#128.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

doctrine/doctrine-bundle/1.6/manifest.json Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

doctrine/doctrine-bundle/1.6/manifest.json Outdated Show resolved Hide resolved
doctrine/doctrine-bundle/1.6/manifest.json Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

doctrine/doctrine-bundle/1.6/manifest.json Outdated Show resolved Hide resolved
doctrine/doctrine-bundle/1.6/manifest.json Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

@dunglas dunglas force-pushed the doctrine_docker branch 4 times, most recently from 7696ade to 60e907a Compare April 28, 2019 07:15
@fabpot
Copy link
Member

fabpot commented Aug 2, 2019

Anyone willing to finish this one?

@maxhelias
Copy link
Contributor

@fabpot I can take care of it if it's OK for everyone

@dunglas
Copy link
Member Author

dunglas commented Aug 3, 2019

I'm on it @maxhelias

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

@@ -10,6 +10,26 @@
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
"#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
"#3": "Configure your db driver and server_version in config/packages/doctrine.yaml",
"DATABASE_URL": "mysql://db_user:[email protected]:3306/db_name"
"DATABASE_URL": "mysql://symfony:password@db:3306/symfony?charset=utf8mb4&serverVersion=5.7"

This comment was marked as resolved.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

doctrine/doctrine-bundle/1.6/manifest.json Outdated Show resolved Hide resolved
@dunglas
Copy link
Member Author

dunglas commented Oct 21, 2020

I switched to Postgres in the last commit.

nicolas-grekas
nicolas-grekas previously approved these changes Oct 21, 2020
@fabpot fabpot dismissed stale reviews from nicolas-grekas and chalasr October 23, 2020 05:23
Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

@symfony-flex-server review again please

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

doctrine/doctrine-bundle/1.6/manifest.json Outdated Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

@ghost ghost merged commit ae172b9 into symfony:master Nov 17, 2020
},
"docker-compose.override.yml": {
"services": [
"db:",
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this service be named database too?

Copy link
Member

Choose a reason for hiding this comment

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

correct :) Up for a PR @pyrech?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep 🙂

Copy link
Contributor

Choose a reason for hiding this comment

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

See #843 😉

Copy link
Member

Choose a reason for hiding this comment

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

You're right, can you do a PR?

"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
Copy link
Contributor

Choose a reason for hiding this comment

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

@dunglas Not sure if I did already ask this 🙈 , but was there a specific reasons why this yaml files are instead of 4 spaces 2 spaces. And so are not similar to symfony config files?
Make it harder in handling .editorconfig files.

Copy link
Member

Choose a reason for hiding this comment

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

4 spaces are the way to go indeed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Here we go: #1018 :)

This pull request was closed.
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.