This repository was archived by the owner on Mar 7, 2020. It is now read-only.
File tree 4 files changed +8
-2
lines changed
4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ MYSQL_ROOT_PASSWORD=root
28
28
MYSQL_DATABASE = application_prod
29
29
MYSQL_USER = application
30
30
MYSQL_PASSWORD = application_passwd
31
+ MYSQL_HOST = mysql
31
32
32
33
# ##> doctrine/doctrine-bundle ###
33
34
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
34
35
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
35
36
# Configure your db driver and server_version in config/packages/doctrine.yaml
36
- DATABASE_URL = mysql://$MYSQL_USER :$MYSQL_PASSWORD @mysql :3306/$MYSQL_DATABASE
37
+ DATABASE_URL = mysql://$MYSQL_USER :$MYSQL_PASSWORD @$MYSQL_HOST :3306/$MYSQL_DATABASE
37
38
# ##< doctrine/doctrine-bundle ###
38
39
39
40
# ##> symfony/swiftmailer-bundle ###
Original file line number Diff line number Diff line change 1
1
APP_SECRET = 67d829bf61dc5f87a73fd814e2c9f629
2
+ MYSQL_DATABASE = application_test
2
3
3
4
KERNEL_CLASS = ' App\Kernel'
Original file line number Diff line number Diff line change 7
7
- APP_ENV=test
8
8
- APP_NAME_CACHE_DIR=$HOME/.app_name-cache
9
9
- APP_NAME_BUILD_DIR=etc/build
10
+ - MYSQL_HOST=127.0.0.1
11
+ - MYSQL_USER=root
12
+ - MYSQL_PASSWORD=
13
+ - MYSQL_DATABASE=application_test
10
14
11
15
matrix :
12
16
include :
Original file line number Diff line number Diff line change 16
16
<!-- ###- symfony/framework-bundle ### -->
17
17
18
18
<!-- ###+ doctrine/doctrine-bundle ### -->
19
- <
env name =
" DATABASE_URL" value =
" mysql://[email protected] :3306/app_name_%kernel.environment% " />
19
+ <
env name =
" DATABASE_URL" value =
" mysql://[email protected] :3306/application_test " />
20
20
<!-- ###- doctrine/doctrine-bundle ### -->
21
21
22
22
<server name =" IS_DOCTRINE_ORM_SUPPORTED" value =" true" />
You can’t perform that action at this time.
0 commit comments