Answer the question
In order to leave comments, you need to log in
Why are parameters not passed from parameters.yml?
The project is raised under the docker, for some reason the database connection parameters are not transferred.
Already tried everything.
parameters.yml:
config.yml:
This is what Symfony writes:
What is written in parameters.yml from under the container:
Answer the question
In order to leave comments, you need to log in
In parameters.yml, you need to write real values, not substitutions.
parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: ~
database_name: symfony
database_user: root
database_password: ~
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question