-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Documentation for MongoDB #720
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
Conversation
2113424
to
39854f1
Compare
distribution/index.md
Outdated
@@ -14,7 +14,8 @@ The easiest and most powerful way to get started is to download the API Platform | |||
It contains: | |||
|
|||
* an API skeleton, including with [the server-side component](../core/index.md), [the Symfony 4 | |||
microframework](https://symfony.com/doc/current/setup/flex.html) and [the Doctrine ORM](http://docs.doctrine-project.org/projects/doctrine-orm/) | |||
microframework](https://symfony.com/doc/current/setup/flex.html), [the Doctrine ORM](http://docs.doctrine-project.org/projects/doctrine-orm/) |
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.
We'll not "bloat" the distribution with MongoDB support by default, can you revert this one?
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.
Nice one! Can you just change the Docker related part and rebase?
I've added what to do manually in order to use MongoDB with the distribution. |
@vincentchalamon could you review this one please? |
// api/Dockerfile | ||
|
||
... | ||
pecl install \ |
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.
pecl install \ | |
docker-php-ext-install \ |
Right?
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.
Doesn't seem to be possible:
docker-php-ext-install -j4 intl mongodb pdo_pgsql zip
error: /usr/src/php/ext/mongodb does not exist
It's only available with PECL.
No description provided.