|
@@ -2,11 +2,11 @@
|
|
# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
|
|
# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
|
|
# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
parameters:
|
|
parameters:
|
|
- database_host: 127.0.0.1
|
|
|
|
|
|
+ database_host: mysql
|
|
database_port: ~
|
|
database_port: ~
|
|
database_name: fd3_stats
|
|
database_name: fd3_stats
|
|
database_user: root
|
|
database_user: root
|
|
- database_password: ~
|
|
|
|
|
|
+ database_password: %env(MYSQL_ROOT_PASSWORD)%
|
|
# You should uncomment this if you want to use pdo_sqlite
|
|
# You should uncomment this if you want to use pdo_sqlite
|
|
#database_path: '%kernel.root_dir%/../var/data/data.sqlite'
|
|
#database_path: '%kernel.root_dir%/../var/data/data.sqlite'
|
|
|
|
|
|
@@ -44,7 +44,7 @@ parameters:
|
|
env(HOST_BASE): base
|
|
env(HOST_BASE): base
|
|
env(HOST_AMQP): amqp
|
|
env(HOST_AMQP): amqp
|
|
env(AMQP_KEY): stats
|
|
env(AMQP_KEY): stats
|
|
- rabbit_mq.host: '127.0.0.1'
|
|
|
|
|
|
+ rabbit_mq.host: amqp
|
|
rabbit_mq.port: 5672
|
|
rabbit_mq.port: 5672
|
|
rabbit_mq.user: 'guest'
|
|
rabbit_mq.user: 'guest'
|
|
rabbit_mq.password: 'guest'
|
|
rabbit_mq.password: 'guest'
|