<?php
return [
	'components' => [
		'db' => [
			'class' => 'yii\db\Connection',
			'dsn' => 'mysql:host=mysql;dbname=<%= getenv('MYSQL_DATABASE') %>',
			'username' => '<%= getenv('MYSQL_USER') %>',
			'password' => '<%= getenv('MYSQL_ROOT_PASSWORD') %>',
			'charset' => 'utf8',
			'tablePrefix' => 'tbl_',
		],
		'mail' => [
			'class' => 'yii\swiftmailer\Mailer',
			'viewPath' => '@common/mail',
			'useFileTransport' => true,
		],
	],
];
