Skip to content

some minor tweaks #14510

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

Merged
merged 1 commit into from
Nov 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions setup/symfony_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,12 @@ its location, same as for ``docker-compose``:

.. caution::

When using Symfony binary with ``php bin/console`` (``symfony console ...``)
the binay will **always** use environment variables detected via Docker and will
When using the Symfony binary with ``php bin/console`` (``symfony console ...``),
the binary will **always** use environment variables detected via Docker and will
ignore local environment variables.
For example if you set up a different database name in your ``.env.test`` file
(``DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/test``) and if you run
``symfony console doctrine:database:drop --force --env=test`` the command will drop the database
``symfony console doctrine:database:drop --force --env=test``, the command will drop the database
defined in your Docker configuration and not the "test" one.

SymfonyCloud Integration
Expand Down